@teambit/env 1.0.514 → 1.0.515
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/env-template/public/235.c32e23316376723371f9.js +207 -0
- package/artifacts/env-template/public/{492.8dc24c7acf8edc62ead7.js → 492.00f9e1f6e30b927f6df2.js} +10 -10
- package/artifacts/env-template/public/992.4b38744e7fb8ac7031d7.js +12 -0
- package/artifacts/env-template/public/assets-manifest.json +14 -14
- package/artifacts/env-template/public/compositions.6c84d36000b031b37e01.js +1 -0
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/{overview.b1f5bf595acf0eb18028.js → overview.6d3ab1e794d1ad1eb371.js} +1 -1
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/{peers.5348d20bbf7754e0763f.js → peers.d464468fe79270611704.js} +1 -1
- package/artifacts/env-template/public/{preview-root.077e1243907ef0f5f901.js → preview-root.92f918e28567e4a350ff.js} +1 -1
- package/artifacts/preview/teambit_envs_env-preview.js +1 -1
- package/artifacts/schema.json +1 -1
- package/{compositions-1736911321716.js → compositions-1736934050040.js} +1 -1
- package/dist/{preview-1736911321716.js → preview-1736934050040.js} +2 -2
- package/{overview-1736911321716.js → overview-1736934050040.js} +1 -1
- package/package.json +10 -10
- package/artifacts/env-template/public/596.b2e4a7c1681d07bf0705.js +0 -12
- package/artifacts/env-template/public/828.232f479d3553e286a5a4.js +0 -207
- package/artifacts/env-template/public/compositions.c3f8138823416e6bdb33.js +0 -1
@@ -1,207 +0,0 @@
|
|
1
|
-
(self.__loadChunks_EnvTemplate=self.__loadChunks_EnvTemplate||[]).push([[828],{24828:(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var main_48ed7444=__webpack_require__(35321);(0,main_48ed7444.e)({"teambit.workspace/workspace":{name:"bit",icon:"https://static.bit.dev/bit-logo.svg",defaultScope:"teambit.bit",defaultDirectory:"components",resolveEnvsFromRoots:!1},"teambit.dependencies/dependency-resolver":{policy:{dependencies:{"@babel/core":"7.19.6","@babel/plugin-proposal-decorators":"7.23.2","@babel/plugin-transform-class-properties":"7.22.5","@babel/plugin-transform-modules-commonjs":"7.23.0","@babel/plugin-transform-object-rest-spread":"7.22.15","@babel/plugin-transform-runtime":"7.23.2","@babel/preset-env":"7.23.2","@babel/preset-react":"7.22.15","@babel/preset-typescript":"7.22.15","@babel/register":"7.18.9","@babel/runtime":"7.23.2","@babel/types":"7.22.3","@bitdev/node.generators.node-templates":"^2.0.8","@bitdev/react.generators.react-templates":"^2.1.3","@bitdev/symphony.generators.symphony-templates":"^1.0.2","@dagrejs/dagre":"^1.1.2","@graphql-modules/core":"0.7.17","@graphql-tools/schema":"^10.0.0","@jest/test-result":"29.3.1","@lydell/node-pty":"^1.0.0","@mdx-js/mdx":"1.6.21","@mdx-js/react":"1.6.22","@monaco-editor/react":"4.4.6","@pmmmwh/react-refresh-webpack-plugin":"0.5.4","@pnpm/client":"900.0.1","@pnpm/colorize-semver-diff":"1.0.1","@pnpm/config":"900.0.0","@pnpm/core":"900.0.1","@pnpm/default-reporter":"900.0.0","@pnpm/dependency-path":"900.0.0","@pnpm/error":"900.0.0","@pnpm/fetch":"900.0.0","@pnpm/list":"^900.0.0","@pnpm/lockfile.filtering":"^900.0.0","@pnpm/lockfile.fs":"^900.0.0","@pnpm/lockfile.types":"^900.0.0","@pnpm/logger":"900.0.0","@pnpm/modules-yaml":"900.0.0","@pnpm/network.ca-file":"3.0.0","@pnpm/node-fetch":"^1.0.0","@pnpm/package-store":"900.0.0","@pnpm/parse-overrides":"900.0.0","@pnpm/pick-registry-for-package":"900.0.0","@pnpm/plugin-commands-publishing":"900.0.1","@pnpm/plugin-commands-rebuild":"900.0.1","@pnpm/registry-mock":"3.44.0","@pnpm/reviewing.dependencies-hierarchy":"^900.0.0","@pnpm/semver-diff":"1.1.0","@pnpm/sort-packages":"900.0.0","@pnpm/store-connection-manager":"900.0.1","@pnpm/types":"900.0.0","@pnpm/worker":"900.0.0","@pnpm/workspace.pkgs-graph":"900.0.1","@react-hook/latest":"1.0.3","@svgr/webpack":"8.1.0","@teambit/any-fs":"0.0.5","@teambit/base-react.navigation.link":"2.0.31","@teambit/base-react.themes.theme-switcher":"^1.0.2","@teambit/base-ui.constants.storage":"1.0.0","@teambit/base-ui.graph.tree.indent":"1.0.0","@teambit/base-ui.graph.tree.inflate-paths":"1.0.0","@teambit/base-ui.graph.tree.recursive-tree":"1.0.5","@teambit/base-ui.graph.tree.tree-context":"1.0.5","@teambit/base-ui.layout.breakpoints":"1.0.0","@teambit/base-ui.layout.page-frame":"1.0.0","@teambit/base-ui.loaders.loader-ribbon":"1.0.0","@teambit/base-ui.loaders.skeleton":"1.0.1","@teambit/base-ui.styles.flex-center":"1.0.0","@teambit/base-ui.surfaces.card":"1.0.1","@teambit/base-ui.surfaces.split-pane.hover-splitter":"1.0.0","@teambit/base-ui.surfaces.split-pane.split-pane":"1.0.0","@teambit/base-ui.text.muted-text":"1.0.1","@teambit/base-ui.text.paragraph":"1.0.1","@teambit/base-ui.theme.colors":"1.0.0","@teambit/base-ui.theme.dark-theme":"1.0.2","@teambit/base-ui.theme.fonts.book":"1.0.2","@teambit/base-ui.theme.fonts.roboto":"1.0.0","@teambit/base-ui.theme.theme-provider":"1.0.1","@teambit/base-ui.utils.composer":"1.0.0","@teambit/base-ui.utils.string.affix":"1.0.0","@teambit/base-ui.utils.time-ago":"1.0.1","@teambit/bit-error":"~0.0.404","@teambit/bit.content.what-is-bit":"1.96.2","@teambit/bvm.config":"^0.2.6","@teambit/bvm.list":"0.1.15","@teambit/bvm.path":"^0.1.2","@teambit/capsule":"0.0.12","@teambit/cloud.models.cloud-user":"~0.0.5","@teambit/code.ui.code-compare-section":"0.0.5","@teambit/code.ui.code-editor":"0.0.10","@teambit/code.ui.code-tab-tree":"^0.0.614","@teambit/code.ui.hooks.use-code-params":"0.0.496","@teambit/code.ui.object-formatter":"0.0.1","@teambit/code.ui.queries.get-component-code":"0.0.502","@teambit/code.ui.queries.get-file-content":"0.0.504","@teambit/code.ui.utils.get-file-icon":"0.0.496","@teambit/community.starters.hello-world":"^0.0.16","@teambit/compilation.babel-compiler":"^1.1.13","@teambit/compilation.content.compiler-overview":"1.96.14","@teambit/component-id":"^1.2.0","@teambit/component-issues":"~0.0.141","@teambit/component-version":"^1.0.3","@teambit/component.content.component-overview":"1.95.0","@teambit/component.content.dev-files":"1.95.9","@teambit/component.instructions.exporting-components":"0.0.7","@teambit/component.ui.artifacts.artifacts-tree":"^0.0.26","@teambit/component.ui.artifacts.models.component-artifacts-model":"^0.0.12","@teambit/component.ui.artifacts.queries.use-component-artifacts":"^0.0.14","@teambit/component.ui.component-compare.compare-aspects.compare-aspects":"^0.0.147","@teambit/component.ui.component-compare.hooks.use-component-compare":"^0.0.113","@teambit/component.ui.component-compare.hooks.use-component-compare-url":"^0.0.9","@teambit/component.ui.component-compare.layouts.compare-split-layout-preset":"^0.0.10","@teambit/component.ui.component-compare.models.component-compare-change-type":"^0.0.7","@teambit/component.ui.component-compare.models.component-compare-hooks":"^0.0.10","@teambit/component.ui.component-compare.models.component-compare-model":"^0.0.112","@teambit/component.ui.component-compare.models.component-compare-state":"^0.0.7","@teambit/component.ui.component-compare.status-resolver":"^0.0.9","@teambit/component.ui.component-compare.utils.group-by-version":"^0.0.8","@teambit/component.ui.component-compare.utils.sort-logs":"^0.0.8","@teambit/component.ui.component-compare.utils.sort-tabs":"^0.0.102","@teambit/component.ui.component-deprecated":"^0.0.39","@teambit/component.ui.component-meta":"^0.0.364","@teambit/component.ui.component-size":"^0.0.77","@teambit/component.ui.component-status-resolver":"^0.0.510","@teambit/component.ui.deprecation-icon":"^0.0.509","@teambit/component.ui.hooks.use-fetch-docs":"^0.0.21","@teambit/component.ui.version-label":"^0.0.509","@teambit/compositions.ui.composition-compare":"^0.0.255","@teambit/compositions.ui.composition-compare-section":"^0.0.100","@teambit/compositions.ui.compositions-menu-bar":"^0.0.177","@teambit/compositions.ui.compositions-overview":"^0.0.10","@teambit/compositions.ui.hooks.use-composition":"^0.0.177","@teambit/defender.content.formatter-overview":"1.96.1","@teambit/defender.content.linter-overview":"1.95.0","@teambit/defender.content.tester-overview":"1.95.0","@teambit/defender.eslint-linter":"^1.0.47","@teambit/defender.fs.global-bit-temp-dir":"0.0.1","@teambit/defender.jest-tester":"^2.0.15","@teambit/defender.prettier-formatter":"1.0.21","@teambit/defender.tester-task":"^1.0.13","@teambit/defender.ui.test-compare-section":"^0.0.100","@teambit/defender.ui.test-loader":"^0.0.504","@teambit/defender.ui.test-table":"^0.0.510","@teambit/dependencies.modules.packages-excluder":"^1.0.8","@teambit/dependencies.pnpm.dep-path":"^0.0.2","@teambit/design.buttons.action-button":"^0.0.2","@teambit/design.controls.menu":"^0.0.1","@teambit/design.elements.icon":"1.0.5","@teambit/design.inputs.dropdown":"1.2.16","@teambit/design.inputs.input-text":"1.0.21","@teambit/design.inputs.selectors.multi-select":"0.0.20","@teambit/design.inputs.toggle-button":"0.0.9","@teambit/design.navigation.responsive-navbar":"^0.0.8","@teambit/design.skeletons.base-skeleton":"^0.0.2","@teambit/design.theme.icons-font":"2.0.29","@teambit/design.themes.dark-theme":"1.91.4","@teambit/design.themes.theme-toggler":"0.1.3","@teambit/design.ui.alert-card":"0.0.26","@teambit/design.ui.brand.logo":"1.96.2","@teambit/design.ui.contributors":"0.0.514","@teambit/design.ui.empty-box":"0.0.363","@teambit/design.ui.icon-button":"1.0.16","@teambit/design.ui.input.option-button":"1.0.0","@teambit/design.ui.input.radio":"1.1.13","@teambit/design.ui.input.toggle":"1.0.12","@teambit/design.ui.navigation.link":"^1.96.11","@teambit/design.ui.pages.not-found":"0.0.371","@teambit/design.ui.pages.server-error":"0.0.368","@teambit/design.ui.pages.standalone-not-found-page":"0.0.369","@teambit/design.ui.pill-label":"0.0.356","@teambit/design.ui.round-loader":"0.0.355","@teambit/design.ui.separator":"0.0.354","@teambit/design.ui.skeletons.sidebar-loader":"0.0.4","@teambit/design.ui.styles.colors-by-letter":"0.0.41","@teambit/design.ui.styles.ellipsis":"0.0.357","@teambit/design.ui.surfaces.menu.link-item":"1.0.0","@teambit/design.ui.surfaces.menu.section":"^0.0.357","@teambit/design.ui.surfaces.status-message-card":"0.0.17","@teambit/design.ui.tree":"0.0.16","@teambit/docs.content.docs-overview":"1.95.9","@teambit/docs.entities.doc":"0.0.12","@teambit/docs.ui.overview-compare":"^1.0.10","@teambit/docs.ui.overview-compare-section":"^0.0.100","@teambit/documenter.theme.theme-compositions":"4.1.1","@teambit/documenter.theme.theme-context":"4.0.3","@teambit/documenter.ui.code-snippet":"^4.2.6","@teambit/documenter.ui.copy-box":"^4.1.19","@teambit/documenter.ui.heading":"4.1.1","@teambit/documenter.ui.label":"4.0.3","@teambit/documenter.ui.linked-heading":"4.1.6","@teambit/documenter.ui.paragraph":"^4.1.8","@teambit/documenter.ui.property-table":"4.1.11","@teambit/documenter.ui.section":"4.1.1","@teambit/documenter.ui.separator":"4.1.1","@teambit/documenter.ui.table-heading-row":"4.0.11","@teambit/documenter.ui.table-row":"4.1.14","@teambit/evangelist.elements.button":"1.0.6","@teambit/evangelist.elements.icon":"1.0.2","@teambit/evangelist.input.checkbox.label":"^1.1.0","@teambit/evangelist.surfaces.dropdown":"1.0.2","@teambit/explorer.ui.command-bar":"2.0.16","@teambit/explorer.ui.component-card":"^0.0.43","@teambit/explorer.ui.gallery.component-grid":"0.0.496","@teambit/git.modules.git-ignore":"^1.0.2","@teambit/graph.cleargraph":"0.0.11","@teambit/harmony":"0.4.6","@teambit/html.modules.inject-html-element":"0.0.5","@teambit/lane-id":"~0.0.312","@teambit/lanes.ui.compare.lane-compare":"^0.0.193","@teambit/lanes.ui.compare.lane-compare-page":"^0.0.162","@teambit/lanes.ui.icons.lane-icon":"^0.0.9","@teambit/lanes.ui.lane-details":"^0.0.205","@teambit/lanes.ui.menus.lanes-overview-menu":"^0.0.10","@teambit/lanes.ui.models.lanes-model":"^0.0.222","@teambit/lanes.ui.navigation.lane-switcher":"^0.0.225","@teambit/legacy-bit-id":"^1.1.1","@teambit/legacy-component-log":"~0.0.402","@teambit/mdx.compilers.mdx-transpiler":"^1.0.8","@teambit/mdx.generator.mdx-templates":"^1.0.11","@teambit/mdx.modules.mdx-loader":"^1.0.14","@teambit/mdx.ui.mdx-layout":"^1.0.11","@teambit/mdx.ui.mdx-scope-context":"^1.0.5","@teambit/node.deps-detectors.detective-es6":"~0.0.5","@teambit/node.utils.esm-loader":"^0.0.7","@teambit/pkg.content.packages-overview":"1.95.9","@teambit/pkg.modules.component-package-name":"~0.0.1","@teambit/pkg.package-json.validator":"0.0.1","@teambit/preview.cli.dev-server-events-listener":"^0.0.1","@teambit/preview.modules.preview-modules":"^1.0.3","@teambit/react.content.react-overview":"1.95.0","@teambit/react.instructions.react.adding-compositions":"0.0.7","@teambit/react.instructions.react.adding-tests":"0.0.6","@teambit/react.jest.react-jest":"^1.0.33","@teambit/react.rendering.ssr":"0.0.3","@teambit/react.ui.component-highlighter":"0.2.4","@teambit/react.webpack.react-webpack":"^1.0.37","@teambit/scope.content.scope-overview":"1.95.0","@teambit/scope.ui.empty-scope":"^0.0.509","@teambit/scope.ui.hooks.use-scope":"^0.0.454","@teambit/scope.ui.scope-details":"^0.0.526","@teambit/scope.ui.scope-icon":"0.0.91","@teambit/scopes.scope-descriptor":"^0.0.24","@teambit/scopes.scope-id":"^0.0.7","@teambit/semantics.entities.semantic-schema":"0.0.74","@teambit/styling.deps-detectors.detective-css":"~0.0.6","@teambit/styling.deps-detectors.detective-less":"~0.0.6","@teambit/styling.deps-detectors.detective-sass":"~0.0.9","@teambit/styling.deps-detectors.detective-scss":"~0.0.9","@teambit/styling.deps-lookups.lookup-styling":"~0.0.4","@teambit/tests-results":"^1.0.5","@teambit/toolbox.fs.readdir-skip-system-files":"~0.0.2","@teambit/toolbox.network.agent":"~0.0.554","@teambit/toolbox.object.sorter":"~0.0.2","@teambit/typescript.deps-detectors.detective-typescript":"~0.0.9","@teambit/typescript.deps-lookups.lookup-typescript":"~0.0.1","@teambit/typescript.typescript-compiler":"^2.0.46","@teambit/ui-foundation.ui.constants.z-indexes":"^0.0.504","@teambit/ui-foundation.ui.corner":"^0.0.520","@teambit/ui-foundation.ui.empty-component-gallery":"^0.0.508","@teambit/ui-foundation.ui.full-loader":"^0.0.500","@teambit/ui-foundation.ui.global-loader":"^0.0.502","@teambit/ui-foundation.ui.hooks.use-data-query":"^0.0.506","@teambit/ui-foundation.ui.hooks.use-is-mobile":"^0.0.198","@teambit/ui-foundation.ui.hooks.use-user-agent":"^0.0.197","@teambit/ui-foundation.ui.is-browser":"^0.0.500","@teambit/ui-foundation.ui.keycap":"^0.0.500","@teambit/ui-foundation.ui.main-dropdown":"^0.0.502","@teambit/ui-foundation.ui.menu":"^0.0.502","@teambit/ui-foundation.ui.menu-widget-icon":"^0.0.502","@teambit/ui-foundation.ui.navigation.react-router-adapter":"^6.1.1","@teambit/ui-foundation.ui.notifications.notification-center":"^0.0.523","@teambit/ui-foundation.ui.notifications.notification-context":"^0.0.501","@teambit/ui-foundation.ui.notifications.store":"^0.0.500","@teambit/ui-foundation.ui.react-router.use-query":"^0.0.501","@teambit/ui-foundation.ui.top-bar":"^0.0.514","@teambit/ui-foundation.ui.tree.drawer":"^0.0.518","@teambit/ui-foundation.ui.tree.file-tree":"0.0.524","@teambit/ui-foundation.ui.tree.folder-tree-node":"0.0.510","@teambit/ui-foundation.ui.tree.tree-node":"0.0.515","@teambit/ui-foundation.ui.use-box.bottom-link":"^0.0.119","@teambit/ui-foundation.ui.use-box.dropdown":"^0.0.143","@teambit/ui-foundation.ui.use-box.menu":"^1.0.15","@teambit/ui-foundation.ui.use-box.scope-menu":"^0.0.146","@teambit/ui-foundation.ui.use-box.tab":"^0.0.122","@teambit/workspace.content.variants":"1.95.9","@teambit/workspace.content.workspace-overview":"1.95.0","@teambit/workspace.root-components":"1.0.0","@teambit/workspace.ui.empty-workspace":"^0.0.508","@teambit/workspace.ui.load-preview":"^0.0.504","@testing-library/jest-dom":"5.16.5","@testing-library/react":"12.1.5","@tippyjs/react":"4.2.0","@types/archiver":"5.3.1","@types/cacache":"12.0.1","@types/chai":"4.2.15","@types/chai-arrays":"1.0.3","@types/chai-fs":"2.0.2","@types/chai-string":"1.4.2","@types/classnames":"2.2.11","@types/cli-table":"^0.3.0","@types/cors":"2.8.10","@types/didyoumean":"1.2.0","@types/diff":"^5.2.3","@types/eslint":"8.56.6","@types/eventsource":"^1.1.15","@types/express":"4.17.13","@types/find-root":"1.1.2","@types/fs-extra":"9.0.7","@types/graphlib":"2.1.7","@types/http-proxy-agent":"2.0.2","@types/lodash":"4.14.165","@types/lodash.compact":"3.0.6","@types/lodash.flatten":"4.4.6","@types/lodash.head":"4.0.6","@types/mdx-js__react":"1.5.5","@types/memoizee":"0.4.5","@types/mime":"2.0.3","@types/mini-css-extract-plugin":"2.2.0","@types/minimatch":"3.0.4","@types/mocha":"9.1.0","@types/mousetrap":"1.6.5","@types/node":"22.10.5","@types/node-fetch":"2.5.12","@types/normalize-path":"^3.0.0","@types/object-hash":"1.3.4","@types/pluralize":"0.0.29","@types/prettier":"2.7.3","@types/pretty-time":"^1.1.5","@types/react":"^17.0.67","@types/react-dev-utils":"9.0.10","@types/react-dom":"^17.0.21","@types/react-syntax-highlighter":"15.5.13","@types/react-tabs":"2.3.2","@types/sass":"1.45.0","@types/semver":"7.3.4","@types/socket.io-client":"1.4.35","@types/ssri":"^7.1.5","@types/testing-library__jest-dom":"5.9.5","@types/ua-parser-js":"0.7.35","@types/url-join":"4.0.0","@types/url-parse":"1.4.3","@types/uuid":"8.3.4","@types/webpack":"5.28.5","@types/yargs":"17.0.0","@typescript-eslint/parser":"7.18.0","@typescript-eslint/typescript-estree":"7.18.0","@viz-js/viz":"^3.4.0","@yarnpkg/cli":"3.6.1","@yarnpkg/core":"3.5.2","@yarnpkg/fslib":"2.10.3","@yarnpkg/parsers":"2.5.1","@yarnpkg/plugin-npm":"2.7.4","@yarnpkg/plugin-pack":"3.2.0",agentkeepalive:"4.1.4","apollo-link-context":"1.0.20","apollo-link-http":"1.5.17","apollo-link-ws":"1.0.20","apollo-server":"2.26.2","apollo-utilities":"1.3.4",archiver:"5.3.1",archy:"1.0.0","array-difference":"0.0.2",assert:"^2.1.0","async-mutex":"0.3.1","async-retry":"^1.3.3","babel-plugin-ramda":"2.1.1","babel-plugin-transform-typescript-metadata":"0.3.1","body-parser":"1.20.2",buffer:"6.0.3",cacache:"19.0.1",camelcase:"6.2.0",chai:"4.3.0","chai-arrays":"1.1.0","chai-fs":"1.0.0","chai-string":"1.5.0","chai-subset":"^1.6.0",chalk:"2.4.2",checksum:"0.1.1",chokidar:"3.6.0",classnames:"2.2.6","cli-highlight":"2.1.9","cli-spinners":"1.3.1","cli-table":"0.3.6",comlink:"4.3.0","command-exists":"1.2.9","comment-json":"4.2.5","compression-webpack-plugin":"11.0.0","copy-to-clipboard":"3.3.1","core-js":"3.9.0",cors:"2.8.5","credentials-by-uri":"2.0.0","cross-env":"7.0.3","cross-fetch":"3.1.5","css-minimizer-webpack-plugin":"^6.0.0",debug:"4.3.4","detect-indent":"5.0.0","detect-newline":"3.1.0","detective-amd":"3.0.1","detective-stylus":"1.0.0",didyoumean:"1.2.1",diff:"^7.0.0",doctrine:"2.1.0",dreidels:"0.6.1","enhanced-resolve":"4.5.0",enquirer:"2.3.6",eslint:"8.56.0","eslint-config-airbnb-typescript":"17.1.0","eslint-config-prettier":"8.5.0","eslint-import-resolver-node":"0.3.4","eslint-plugin-import":"2.29.1","eslint-plugin-mocha":"6.3.0","eslint-plugin-promise":"4.3.1","eslint-plugin-react":"7.33.2",eventemitter2:"6.4.4",events:"^3.3.0",eventsource:"^2.0.2",execa:"2.1.0","expose-loader":"3.1.0",express:"4.19.2","express-graphql":"0.12.0","express-history-api-fallback":"2.2.1",filenamify:"4.2.0","find-root":"1.1.0",firstline:"2.0.2",flatted:"3.1.0","fs-extra":"10.0.0","fuse.js":"6.6.2","get-tsconfig":"4.2.0","@teambit/gitconfig":"2.0.10",glob:"7.1.6",globby:"11.0.1","graceful-fs":"4.2.10",graphlib:"2.1.8","graphql-disable-introspection":"^1.2.0","graphql-request":"6.1.0","graphql-subscriptions":"1.2.0","graphql-tag":"2.12.1","graphql-type-json":"0.3.2",graphviz:"0.0.9","group-array":"1.0.0",history:"5.3.0","html-webpack-plugin":"5.3.2","http-proxy":"1.18.1","http-proxy-agent":"4.0.1","http-proxy-middleware":"^3.0.0","https-proxy-agent":"5.0.0","humanize-duration":"3.23.1","humanize-string":"2.1.0",ignore:"3.3.10",ini:"2.0.0","inject-body-webpack-plugin":"1.3.0","insert-string-after":"1.0.0","insert-string-before":"1.0.0","is-binary-path":"2.1.0","is-builtin-module":"3.1.0","is-primitive":"3.0.1","is-relative-path":"2.0.0",isbinaryfile:"4.0.6",jest:"29.3.1","jest-message-util":"29.3.1","jest-watcher":"29.7.0","js-yaml":"npm:@zkochan/js-yaml@0.0.7","json-formatter-js":"2.3.4","junit-report-builder":"3.0.1",less:"^4.1.1","lint-staged":"^12.5.0",lodash:"4.17.21","lodash.compact":"3.0.1","lodash.head":"4.0.1","lodash.partition":"4.6.0","lru-cache":"6.0.0",memoizee:"0.4.15",mime:"2.5.2","mini-css-extract-plugin":"2.2.2",minimatch:"3.0.5",mocha:"9.2.2","mocha-junit-reporter":"2.2.1","mocha-multi-reporters":"1.5.1","module-definition":"3.3.1",moment:"2.29.4",mousetrap:"1.6.5",multimatch:"5.0.0","nerf-dart":"1.0.0","node-fetch":"2.6.7","node-source-walk":"4.2.0","normalize-path":"3.0.0",npm:"6.14.17","object-diff":"0.0.4","object-hash":"2.1.1",open:"7.4.2","open-editor":"3.0.0",ora:"5.4.1","p-filter":"2.1.0","p-limit":"3.1.0","p-locate":"5.0.0","p-map":"4.0.0","p-map-series":"2.1.0","p-queue":"6.6.2","pad-right":"0.2.2","parse-gitignore":"1.0.1","parse-package-name":"0.1.0","path-browserify":"^1.0.1",penpal:"6.2.2",pino:"8.7.0","pino-pretty":"9.1.1",pluralize:"8.0.0",postcss:"8.4.45","postcss-flexbugs-fixes":"5.0.2","postcss-loader":"7.0.1","postcss-preset-env":"7.8.2",prettier:"3.3.3","prettier-eslint":"16.3.0","pretty-bytes":"5.6.0","pretty-time":"1.1.0",process:"0.11.10",prompt:"1.3.0","prop-types":"^15.8.1",punycode:"^2.3.1","query-string":"7.0.0",ramda:"0.27.1","react-animate-height":"2.0.23","react-dev-utils":"11.0.4","react-docgen":"5.3.1","react-error-boundary":"^3.0.0","react-error-overlay":"6.0.9","react-syntax-highlighter":"15.6.1","react-tabs":"3.2.0","react-test-renderer":"17.0.2",reactflow:"^11.11.3","read-pkg-up":"7.0.1","regenerator-runtime":"0.13.7","reset-css":"5.0.1",resolve:"1.20.0","resolve-dependency-path":"2.0.0","resolve-from":"5.0.0","resolve-link-target":"^1.0.1","resolve-url-loader":"5.0.0",rewire:"7.0.0",rimraf:"3.0.2",sass:"1.63.6",semver:"7.5.4","semver-intersect":"1.4.0","semver-range-intersect":"0.3.1","serialize-error":"5.0.0",sinon:"17.0.1","socket.io-client":"2.4.0","socks-proxy-agent":"5.0.0",ssri:"10.0.1","string-format":"0.5.0",string_decoder:"^1.3.0","stringify-package":"1.0.1","strip-ansi":"6.0.0","stylus-lookup":"3.0.2","subscriptions-transport-ws":"0.9.18","symlink-dir":"^5.1.1",table:"6.7.3",tar:"6.2.1","tar-fs":"2.1.1","tar-stream":"2.2.0",tempy:"1.0.1","terser-webpack-plugin":"5.2.0","tippy.js":"6.2.7","type-coverage":"2.15.1",typescript:"5.5.3","ua-parser-js":"0.7.24","uid-number":"0.0.6",uniqid:"5.3.0",url:"^0.11.3","url-join":"4.0.1","url-parse":"1.4.7","user-home":"^3.0.0",util:"^0.12.5",uuid:"8.3.2","validate-npm-package-name":"3.0.0","version-selector-type":"3.0.0",vinyl:"2.2.1","vinyl-file":"3.0.0","vscode-jsonrpc":"6.0.0","vscode-languageserver-types":"3.16.0",webpack:"5.97.1","webpack-assets-manifest":"5.1.0","webpack-dev-server":"4.15.0","webpack-manifest-plugin":"5.0.0","webpack-merge":"5.8.0",winston:"3.3.3","workbox-webpack-plugin":"7.1.0","write-file-atomic":"5.0.0",ws:"7.5.10",yaml:"1.10.2",yargs:"17.0.1",yesno:"0.4.0",yn:"2.0.0"},peerDependencies:{"@apollo/client":"^3.6.0","@teambit/base-react.navigation.link":"2.0.31","@testing-library/react":"^12.1.5","core-js":"^3.10.0",graphql:"15.8.0",mz:"2.7.0",react:"17.0.2","react-dom":"17.0.2","react-router-dom":"^6.22.3"}},linkCoreAspects:!1,overrides:{"@types/fs-capacitor":"2.0.0","signal-exit@4":"^4.0.2","@types/react":"^17.0.67","@types/react-dom":"^17.0.21","minio@7.0":"7.1.3","uri-js":"npm:uri-js-replace",encoding:"-"},rootComponents:!0,nodeVersion:"23.5.0",engineStrict:!0,packageImportMethod:"copy",packageManagerArgs:[],devFilePatterns:["**/*.spec.ts"],strictPeerDependencies:!0,autoInstallPeers:!0,savePrefix:"",extraArgs:[],peerDependencyRules:{allowAny:["react","react-dom","@testing-library/react","@teambit/legacy","typescript"],ignoreMissing:[]},capsuleSelfReference:!0},"teambit.preview/preview":{bundlingStrategy:"component",maxChunkSize:10},"teambit.generator/generator":{aspects:["teambit.harmony/aspect"]},"teambit.component/issues":{ignoreIssues:["CircularDependencies","DuplicateComponentAndPackage"]},"teambit.workspace/variants":{"*,!{*/**}":{"teambit.pkg/pkg":{packageManagerPublishArgs:["--access public"],packageJson:{name:"@teambit/{name}"}}},"{*/**}":{"teambit.dependencies/dependency-resolver":{policy:{dependencies:{},devDependencies:{"@types/mocha":"9.1.0"},peerDependencies:{}}}},"scopes/harmony/bit":{"teambit.component/issues":{ignoreIssues:["ImportNonMainFiles"]},"teambit.pkg/pkg":{packageManagerPublishArgs:["--access public"],packageJson:{name:"@teambit/{name}",bvm:{node:"23.5.0"},bin:{bbit:"bin/bit"},engines:{node:">=18.12.0"},repository:{type:"git",url:"https://github.com/teambit/bit"}}},"teambit.dependencies/dependency-resolver":{policy:{dependencies:{"@teambit/base-react.navigation.link":"2.0.31","@teambit/ui-foundation.ui.navigation.react-router-adapter":"6.1.1","@apollo/client":"3.6.9","@yarnpkg/cli":"3.6.1","@yarnpkg/core":"3.5.2","@yarnpkg/plugin-pack":"3.2.0","@types/react":"^17.0.67","@types/react-dom":"^17.0.21",graphql:"15.8.0",browserslist:"4.23.3","reflect-metadata":"0.1.13","monaco-editor":"0.33.0",mz:"2.7.0",react:"17.0.2","react-dom":"17.0.2","core-js":"3.13.0",postcss:"8.4.18",buffer:"6.0.3",process:"0.11.10","react-router-dom":"6.3.0",typescript:"5.5.3","@parcel/css":"^1.8.3",lightningcss:"^1.20.0","@swc/css":"^0.0.20"},devDependencies:{},peerDependencies:{"@teambit/base-react.navigation.link":"-","@teambit/legacy":"-","@teambit/ui-foundation.ui.navigation.react-router-adapter":"-",browserslist:"-",graphql:"-",react:"-","react-dom":"-","react-router-dom":"-","core-js":"-"}}}},"scopes/harmony/node":{"teambit.component/issues":{ignoreIssues:["ImportNonMainFiles"]},"teambit.dependencies/dependency-resolver":{policy:{}}},"components/legacy":{"teambit.pkg/pkg":{}},"components/bit":{"teambit.pkg/pkg":{}},"components/typescript-compiler":{"teambit.pkg/pkg":{}},"components/scope/remotes":{"teambit.pkg/pkg":{}},"scopes/component/sources":{"teambit.pkg/pkg":{}},"scopes/component/snap-distance":{"teambit.pkg/pkg":{}},"scopes/scope/network":{"teambit.pkg/pkg":{}},"scopes/scope/remote-actions":{"teambit.pkg/pkg":{}},"components/semantics/doc-parser":{"teambit.pkg/pkg":{}}},"teambit.harmony/bit":"teambit.workspace/workspace"})},35321:(__unused_webpack_module,exports,__webpack_require__)=>{var __webpack_unused_export__;/*! For license information please see main.48ed7444.cjs.LICENSE.txt */(()=>{var e={8401:(e2,t2,n2)=>{"use strict";function r2(e3){return e3.split("-")[0]}function i(e3){return e3.split("-")[1]}function o(e3){return["top","bottom"].includes(r2(e3))?"x":"y"}function a(e3){return e3==="y"?"height":"width"}function s(e3,t3,n3){let{reference:s2,floating:u2}=e3;const c2=s2.x+s2.width/2-u2.width/2,l2=s2.y+s2.height/2-u2.height/2,f2=o(t3),p2=a(f2),d2=s2[p2]/2-u2[p2]/2,h2=f2==="x";let v2;switch(r2(t3)){case"top":v2={x:c2,y:s2.y-u2.height};break;case"bottom":v2={x:c2,y:s2.y+s2.height};break;case"right":v2={x:s2.x+s2.width,y:l2};break;case"left":v2={x:s2.x-u2.width,y:l2};break;default:v2={x:s2.x,y:s2.y}}switch(i(t3)){case"start":v2[f2]-=d2*(n3&&h2?-1:1);break;case"end":v2[f2]+=d2*(n3&&h2?-1:1)}return v2}function u(e3){return typeof e3!="number"?function(e4){return{top:0,right:0,bottom:0,left:0,...e4}}(e3):{top:e3,right:e3,bottom:e3,left:e3}}function c(e3){return{...e3,top:e3.y,left:e3.x,right:e3.x+e3.width,bottom:e3.y+e3.height}}async function l(e3,t3){var n3;t3===void 0&&(t3={});const{x:r3,y:i2,platform:o2,rects:a2,elements:s2,strategy:l2}=e3,{boundary:f2="clippingAncestors",rootBoundary:p2="viewport",elementContext:d2="floating",altBoundary:h2=!1,padding:v2=0}=t3,m2=u(v2),y2=s2[h2?d2==="floating"?"reference":"floating":d2],g2=c(await o2.getClippingRect({element:(n3=await(o2.isElement==null?void 0:o2.isElement(y2)))==null||n3?y2:y2.contextElement||await(o2.getDocumentElement==null?void 0:o2.getDocumentElement(s2.floating)),boundary:f2,rootBoundary:p2,strategy:l2})),b2=c(o2.convertOffsetParentRelativeRectToViewportRelativeRect?await o2.convertOffsetParentRelativeRectToViewportRelativeRect({rect:d2==="floating"?{...a2.floating,x:r3,y:i2}:a2.reference,offsetParent:await(o2.getOffsetParent==null?void 0:o2.getOffsetParent(s2.floating)),strategy:l2}):a2[d2]);return{top:g2.top-b2.top+m2.top,bottom:b2.bottom-g2.bottom+m2.bottom,left:g2.left-b2.left+m2.left,right:b2.right-g2.right+m2.right}}n2.r(t2),n2.d(t2,{arrow:()=>ve,autoPlacement:()=>w,autoUpdate:()=>ue,computePosition:()=>ce,detectOverflow:()=>l,flip:()=>O,getOverflowAncestors:()=>ie,hide:()=>I,inline:()=>P,limitShift:()=>j,offset:()=>S,shift:()=>A,size:()=>R,useFloating:()=>he});const f=Math.min,p=Math.max;function d(e3,t3,n3){return p(e3,f(t3,n3))}const h=e3=>({name:"arrow",options:e3,async fn(t3){const{element:n3,padding:r3=0}=e3??{},{x:s2,y:c2,placement:l2,rects:f2,platform:p2}=t3;if(n3==null)return{};const h2=u(r3),v2={x:s2,y:c2},m2=o(l2),y2=i(l2),g2=a(m2),b2=await p2.getDimensions(n3),_2=m2==="y"?"top":"left",E2=m2==="y"?"bottom":"right",w2=f2.reference[g2]+f2.reference[m2]-v2[m2]-f2.floating[g2],O2=v2[m2]-f2.reference[m2],T2=await(p2.getOffsetParent==null?void 0:p2.getOffsetParent(n3));let N2=T2?m2==="y"?T2.clientHeight||0:T2.clientWidth||0:0;N2===0&&(N2=f2.floating[g2]);const I2=w2/2-O2/2,S2=h2[_2],x2=N2-b2[g2]-h2[E2],A2=N2/2-b2[g2]/2+I2,j2=d(S2,A2,x2),R2=(y2==="start"?h2[_2]:h2[E2])>0&&A2!==j2&&f2.reference[g2]<=f2.floating[g2];return{[m2]:v2[m2]-(R2?A2<S2?S2-A2:x2-A2:0),data:{[m2]:j2,centerOffset:A2-j2}}}}),v={left:"right",right:"left",bottom:"top",top:"bottom"};function m(e3){return e3.replace(/left|right|bottom|top/g,e4=>v[e4])}function y(e3,t3,n3){n3===void 0&&(n3=!1);const r3=i(e3),s2=o(e3),u2=a(s2);let c2=s2==="x"?r3===(n3?"end":"start")?"right":"left":r3==="start"?"bottom":"top";return t3.reference[u2]>t3.floating[u2]&&(c2=m(c2)),{main:c2,cross:m(c2)}}const g={start:"end",end:"start"};function b(e3){return e3.replace(/start|end/g,e4=>g[e4])}const _=["top","right","bottom","left"],E=_.reduce((e3,t3)=>e3.concat(t3,t3+"-start",t3+"-end"),[]),w=function(e3){return e3===void 0&&(e3={}),{name:"autoPlacement",options:e3,async fn(t3){var n3,o2,a2,s2,u2;const{x:c2,y:f2,rects:p2,middlewareData:d2,placement:h2,platform:v2,elements:m2}=t3,{alignment:g2=null,allowedPlacements:_2=E,autoAlignment:w2=!0,...O2}=e3,T2=function(e4,t4,n4){return(e4?[...n4.filter(t5=>i(t5)===e4),...n4.filter(t5=>i(t5)!==e4)]:n4.filter(e5=>r2(e5)===e5)).filter(n5=>!e4||i(n5)===e4||!!t4&&b(n5)!==n5)}(g2,w2,_2),N2=await l(t3,O2),I2=(n3=(o2=d2.autoPlacement)==null?void 0:o2.index)!=null?n3:0,S2=T2[I2];if(S2==null)return{};const{main:x2,cross:A2}=y(S2,p2,await(v2.isRTL==null?void 0:v2.isRTL(m2.floating)));if(h2!==S2)return{x:c2,y:f2,reset:{placement:T2[0]}};const j2=[N2[r2(S2)],N2[x2],N2[A2]],R2=[...(a2=(s2=d2.autoPlacement)==null?void 0:s2.overflows)!=null?a2:[],{placement:S2,overflows:j2}],P2=T2[I2+1];if(P2)return{data:{index:I2+1,overflows:R2},reset:{placement:P2}};const D2=R2.slice().sort((e4,t4)=>e4.overflows[0]-t4.overflows[0]),k2=(u2=D2.find(e4=>{let{overflows:t4}=e4;return t4.every(e5=>e5<=0)}))==null?void 0:u2.placement,M2=k2??D2[0].placement;return M2!==h2?{data:{index:I2+1,overflows:R2},reset:{placement:M2}}:{}}}},O=function(e3){return e3===void 0&&(e3={}),{name:"flip",options:e3,async fn(t3){var n3;const{placement:i2,middlewareData:o2,rects:a2,initialPlacement:s2,platform:u2,elements:c2}=t3,{mainAxis:f2=!0,crossAxis:p2=!0,fallbackPlacements:d2,fallbackStrategy:h2="bestFit",flipAlignment:v2=!0,...g2}=e3,_2=r2(i2),E2=d2||(_2!==s2&&v2?function(e4){const t4=m(e4);return[b(e4),t4,b(t4)]}(s2):[m(s2)]),w2=[s2,...E2],O2=await l(t3,g2),T2=[];let N2=((n3=o2.flip)==null?void 0:n3.overflows)||[];if(f2&&T2.push(O2[_2]),p2){const{main:e4,cross:t4}=y(i2,a2,await(u2.isRTL==null?void 0:u2.isRTL(c2.floating)));T2.push(O2[e4],O2[t4])}if(N2=[...N2,{placement:i2,overflows:T2}],!T2.every(e4=>e4<=0)){var I2,S2;const e4=((I2=(S2=o2.flip)==null?void 0:S2.index)!=null?I2:0)+1,t4=w2[e4];if(t4)return{data:{index:e4,overflows:N2},reset:{placement:t4}};let n4="bottom";switch(h2){case"bestFit":{var x2;const e5=(x2=N2.map(e6=>[e6,e6.overflows.filter(e7=>e7>0).reduce((e7,t5)=>e7+t5,0)]).sort((e6,t5)=>e6[1]-t5[1])[0])==null?void 0:x2[0].placement;e5&&(n4=e5);break}case"initialPlacement":n4=s2}if(i2!==n4)return{reset:{placement:n4}}}return{}}}};function T(e3,t3){return{top:e3.top-t3.height,right:e3.right-t3.width,bottom:e3.bottom-t3.height,left:e3.left-t3.width}}function N(e3){return _.some(t3=>e3[t3]>=0)}const I=function(e3){let{strategy:t3="referenceHidden",...n3}=e3===void 0?{}:e3;return{name:"hide",async fn(e4){const{rects:r3}=e4;switch(t3){case"referenceHidden":{const t4=T(await l(e4,{...n3,elementContext:"reference"}),r3.reference);return{data:{referenceHiddenOffsets:t4,referenceHidden:N(t4)}}}case"escaped":{const t4=T(await l(e4,{...n3,altBoundary:!0}),r3.floating);return{data:{escapedOffsets:t4,escaped:N(t4)}}}default:return{}}}}},S=function(e3){return e3===void 0&&(e3=0),{name:"offset",options:e3,async fn(t3){const{x:n3,y:a2}=t3,s2=await async function(e4,t4){const{placement:n4,platform:a3,elements:s3}=e4,u2=await(a3.isRTL==null?void 0:a3.isRTL(s3.floating)),c2=r2(n4),l2=i(n4),f2=o(n4)==="x",p2=["left","top"].includes(c2)?-1:1,d2=u2&&f2?-1:1,h2=typeof t4=="function"?t4(e4):t4;let{mainAxis:v2,crossAxis:m2,alignmentAxis:y2}=typeof h2=="number"?{mainAxis:h2,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h2};return l2&&typeof y2=="number"&&(m2=l2==="end"?-1*y2:y2),f2?{x:m2*d2,y:v2*p2}:{x:v2*p2,y:m2*d2}}(t3,e3);return{x:n3+s2.x,y:a2+s2.y,data:s2}}}};function x(e3){return e3==="x"?"y":"x"}const A=function(e3){return e3===void 0&&(e3={}),{name:"shift",options:e3,async fn(t3){const{x:n3,y:i2,placement:a2}=t3,{mainAxis:s2=!0,crossAxis:u2=!1,limiter:c2={fn:e4=>{let{x:t4,y:n4}=e4;return{x:t4,y:n4}}},...f2}=e3,p2={x:n3,y:i2},h2=await l(t3,f2),v2=o(r2(a2)),m2=x(v2);let y2=p2[v2],g2=p2[m2];if(s2){const e4=v2==="y"?"bottom":"right";y2=d(y2+h2[v2==="y"?"top":"left"],y2,y2-h2[e4])}if(u2){const e4=m2==="y"?"bottom":"right";g2=d(g2+h2[m2==="y"?"top":"left"],g2,g2-h2[e4])}const b2=c2.fn({...t3,[v2]:y2,[m2]:g2});return{...b2,data:{x:b2.x-n3,y:b2.y-i2}}}}},j=function(e3){return e3===void 0&&(e3={}),{options:e3,fn(t3){const{x:n3,y:i2,placement:a2,rects:s2,middlewareData:u2}=t3,{offset:c2=0,mainAxis:l2=!0,crossAxis:f2=!0}=e3,p2={x:n3,y:i2},d2=o(a2),h2=x(d2);let v2=p2[d2],m2=p2[h2];const y2=typeof c2=="function"?c2({...s2,placement:a2}):c2,g2=typeof y2=="number"?{mainAxis:y2,crossAxis:0}:{mainAxis:0,crossAxis:0,...y2};if(l2){const e4=d2==="y"?"height":"width",t4=s2.reference[d2]-s2.floating[e4]+g2.mainAxis,n4=s2.reference[d2]+s2.reference[e4]-g2.mainAxis;v2<t4?v2=t4:v2>n4&&(v2=n4)}if(f2){var b2,_2,E2,w2;const e4=d2==="y"?"width":"height",t4=["top","left"].includes(r2(a2)),n4=s2.reference[h2]-s2.floating[e4]+(t4&&(b2=(_2=u2.offset)==null?void 0:_2[h2])!=null?b2:0)+(t4?0:g2.crossAxis),i3=s2.reference[h2]+s2.reference[e4]+(t4?0:(E2=(w2=u2.offset)==null?void 0:w2[h2])!=null?E2:0)-(t4?g2.crossAxis:0);m2<n4?m2=n4:m2>i3&&(m2=i3)}return{[d2]:v2,[h2]:m2}}}},R=function(e3){return e3===void 0&&(e3={}),{name:"size",options:e3,async fn(t3){const{placement:n3,rects:o2,platform:a2,elements:s2}=t3,{apply:u2,...c2}=e3,f2=await l(t3,c2),d2=r2(n3),h2=i(n3);let v2,m2;d2==="top"||d2==="bottom"?(v2=d2,m2=h2===(await(a2.isRTL==null?void 0:a2.isRTL(s2.floating))?"start":"end")?"left":"right"):(m2=d2,v2=h2==="end"?"top":"bottom");const y2=p(f2.left,0),g2=p(f2.right,0),b2=p(f2.top,0),_2=p(f2.bottom,0),E2={availableHeight:o2.floating.height-(["left","right"].includes(n3)?2*(b2!==0||_2!==0?b2+_2:p(f2.top,f2.bottom)):f2[v2]),availableWidth:o2.floating.width-(["top","bottom"].includes(n3)?2*(y2!==0||g2!==0?y2+g2:p(f2.left,f2.right)):f2[m2])},w2=await a2.getDimensions(s2.floating);u2?.({...t3,...E2});const O2=await a2.getDimensions(s2.floating);return w2.width!==O2.width||w2.height!==O2.height?{reset:{rects:!0}}:{}}}},P=function(e3){return e3===void 0&&(e3={}),{name:"inline",options:e3,async fn(t3){var n3;const{placement:i2,elements:a2,rects:s2,platform:l2,strategy:d2}=t3,{padding:h2=2,x:v2,y:m2}=e3,y2=c(l2.convertOffsetParentRelativeRectToViewportRelativeRect?await l2.convertOffsetParentRelativeRectToViewportRelativeRect({rect:s2.reference,offsetParent:await(l2.getOffsetParent==null?void 0:l2.getOffsetParent(a2.floating)),strategy:d2}):s2.reference),g2=(n3=await(l2.getClientRects==null?void 0:l2.getClientRects(a2.reference)))!=null?n3:[],b2=u(h2),_2=await l2.getElementRects({reference:{getBoundingClientRect:function(){var e4;if(g2.length===2&&g2[0].left>g2[1].right&&v2!=null&&m2!=null)return(e4=g2.find(e5=>v2>e5.left-b2.left&&v2<e5.right+b2.right&&m2>e5.top-b2.top&&m2<e5.bottom+b2.bottom))!=null?e4:y2;if(g2.length>=2){if(o(i2)==="x"){const e6=g2[0],t5=g2[g2.length-1],n5=r2(i2)==="top",o2=e6.top,a4=t5.bottom,s4=n5?e6.left:t5.left,u3=n5?e6.right:t5.right;return{top:o2,bottom:a4,left:s4,right:u3,width:u3-s4,height:a4-o2,x:s4,y:o2}}const e5=r2(i2)==="left",t4=p(...g2.map(e6=>e6.right)),n4=f(...g2.map(e6=>e6.left)),a3=g2.filter(r3=>e5?r3.left===n4:r3.right===t4),s3=a3[0].top,u2=a3[a3.length-1].bottom;return{top:s3,bottom:u2,left:n4,right:t4,width:t4-n4,height:u2-s3,x:n4,y:s3}}return y2}},floating:a2.floating,strategy:d2});return s2.reference.x!==_2.reference.x||s2.reference.y!==_2.reference.y||s2.reference.width!==_2.reference.width||s2.reference.height!==_2.reference.height?{reset:{rects:_2}}:{}}}};function D(e3){return e3&&e3.document&&e3.location&&e3.alert&&e3.setInterval}function k(e3){if(e3==null)return window;if(!D(e3)){const t3=e3.ownerDocument;return t3&&t3.defaultView||window}return e3}function M(e3){return k(e3).getComputedStyle(e3)}function L(e3){return D(e3)?"":e3?(e3.nodeName||"").toLowerCase():""}function C(){const e3=navigator.userAgentData;return e3!=null&&e3.brands?e3.brands.map(e4=>e4.brand+"/"+e4.version).join(" "):navigator.userAgent}function F(e3){return e3 instanceof k(e3).HTMLElement}function V(e3){return e3 instanceof k(e3).Element}function U(e3){return typeof ShadowRoot<"u"&&(e3 instanceof k(e3).ShadowRoot||e3 instanceof ShadowRoot)}function $(e3){const{overflow:t3,overflowX:n3,overflowY:r3}=M(e3);return/auto|scroll|overlay|hidden/.test(t3+r3+n3)}function B(e3){return["table","td","th"].includes(L(e3))}function H(e3){const t3=/firefox/i.test(C()),n3=M(e3);return n3.transform!=="none"||n3.perspective!=="none"||n3.contain==="paint"||["transform","perspective"].includes(n3.willChange)||t3&&n3.willChange==="filter"||t3&&!!n3.filter&&n3.filter!=="none"}function G(){return!/^((?!chrome|android).)*safari/i.test(C())}const q=Math.min,W=Math.max,z=Math.round;function Y(e3,t3,n3){var r3,i2,o2,a2;t3===void 0&&(t3=!1),n3===void 0&&(n3=!1);const s2=e3.getBoundingClientRect();let u2=1,c2=1;t3&&F(e3)&&(u2=e3.offsetWidth>0&&z(s2.width)/e3.offsetWidth||1,c2=e3.offsetHeight>0&&z(s2.height)/e3.offsetHeight||1);const l2=V(e3)?k(e3):window,f2=!G()&&n3,p2=(s2.left+(f2&&(r3=(i2=l2.visualViewport)==null?void 0:i2.offsetLeft)!=null?r3:0))/u2,d2=(s2.top+(f2&&(o2=(a2=l2.visualViewport)==null?void 0:a2.offsetTop)!=null?o2:0))/c2,h2=s2.width/u2,v2=s2.height/c2;return{width:h2,height:v2,top:d2,right:p2+h2,bottom:d2+v2,left:p2,x:p2,y:d2}}function J(e3){return(t3=e3,(t3 instanceof k(t3).Node?e3.ownerDocument:e3.document)||window.document).documentElement;var t3}function Q(e3){return V(e3)?{scrollLeft:e3.scrollLeft,scrollTop:e3.scrollTop}:{scrollLeft:e3.pageXOffset,scrollTop:e3.pageYOffset}}function K(e3){return Y(J(e3)).left+Q(e3).scrollLeft}function X(e3,t3,n3){const r3=F(t3),i2=J(t3),o2=Y(e3,r3&&function(e4){const t4=Y(e4);return z(t4.width)!==e4.offsetWidth||z(t4.height)!==e4.offsetHeight}(t3),n3==="fixed");let a2={scrollLeft:0,scrollTop:0};const s2={x:0,y:0};if(r3||!r3&&n3!=="fixed")if((L(t3)!=="body"||$(i2))&&(a2=Q(t3)),F(t3)){const e4=Y(t3,!0);s2.x=e4.x+t3.clientLeft,s2.y=e4.y+t3.clientTop}else i2&&(s2.x=K(i2));return{x:o2.left+a2.scrollLeft-s2.x,y:o2.top+a2.scrollTop-s2.y,width:o2.width,height:o2.height}}function Z(e3){return L(e3)==="html"?e3:e3.assignedSlot||e3.parentNode||(U(e3)?e3.host:null)||J(e3)}function ee(e3){return F(e3)&&getComputedStyle(e3).position!=="fixed"?e3.offsetParent:null}function te(e3){const t3=k(e3);let n3=ee(e3);for(;n3&&B(n3)&&getComputedStyle(n3).position==="static";)n3=ee(n3);return n3&&(L(n3)==="html"||L(n3)==="body"&&getComputedStyle(n3).position==="static"&&!H(n3))?t3:n3||function(e4){let t4=Z(e4);for(U(t4)&&(t4=t4.host);F(t4)&&!["html","body"].includes(L(t4));){if(H(t4))return t4;t4=t4.parentNode}return null}(e3)||t3}function ne(e3){if(F(e3))return{width:e3.offsetWidth,height:e3.offsetHeight};const t3=Y(e3);return{width:t3.width,height:t3.height}}function re(e3){const t3=Z(e3);return["html","body","#document"].includes(L(t3))?e3.ownerDocument.body:F(t3)&&$(t3)?t3:re(t3)}function ie(e3,t3){var n3;t3===void 0&&(t3=[]);const r3=re(e3),i2=r3===((n3=e3.ownerDocument)==null?void 0:n3.body),o2=k(r3),a2=i2?[o2].concat(o2.visualViewport||[],$(r3)?r3:[]):r3,s2=t3.concat(a2);return i2?s2:s2.concat(ie(a2))}function oe(e3,t3,n3){return t3==="viewport"?c(function(e4,t4){const n4=k(e4),r3=J(e4),i2=n4.visualViewport;let o2=r3.clientWidth,a2=r3.clientHeight,s2=0,u2=0;if(i2){o2=i2.width,a2=i2.height;const e5=G();(e5||!e5&&t4==="fixed")&&(s2=i2.offsetLeft,u2=i2.offsetTop)}return{width:o2,height:a2,x:s2,y:u2}}(e3,n3)):V(t3)?function(e4,t4){const n4=Y(e4,!1,t4==="fixed"),r3=n4.top+e4.clientTop,i2=n4.left+e4.clientLeft;return{top:r3,left:i2,x:i2,y:r3,right:i2+e4.clientWidth,bottom:r3+e4.clientHeight,width:e4.clientWidth,height:e4.clientHeight}}(t3,n3):c(function(e4){var t4;const n4=J(e4),r3=Q(e4),i2=(t4=e4.ownerDocument)==null?void 0:t4.body,o2=W(n4.scrollWidth,n4.clientWidth,i2?i2.scrollWidth:0,i2?i2.clientWidth:0),a2=W(n4.scrollHeight,n4.clientHeight,i2?i2.scrollHeight:0,i2?i2.clientHeight:0);let s2=-r3.scrollLeft+K(e4);const u2=-r3.scrollTop;return M(i2||n4).direction==="rtl"&&(s2+=W(n4.clientWidth,i2?i2.clientWidth:0)-o2),{width:o2,height:a2,x:s2,y:u2}}(J(e3)))}function ae(e3){const t3=ie(e3),n3=["absolute","fixed"].includes(M(e3).position)&&F(e3)?te(e3):e3;return V(n3)?t3.filter(e4=>V(e4)&&function(e5,t4){const n4=t4.getRootNode==null?void 0:t4.getRootNode();if(e5.contains(t4))return!0;if(n4&&U(n4)){let n5=t4;do{if(n5&&e5===n5)return!0;n5=n5.parentNode||n5.host}while(n5)}return!1}(e4,n3)&&L(e4)!=="body"):[]}const se={getClippingRect:function(e3){let{element:t3,boundary:n3,rootBoundary:r3,strategy:i2}=e3;const o2=[...n3==="clippingAncestors"?ae(t3):[].concat(n3),r3],a2=o2[0],s2=o2.reduce((e4,n4)=>{const r4=oe(t3,n4,i2);return e4.top=W(r4.top,e4.top),e4.right=q(r4.right,e4.right),e4.bottom=q(r4.bottom,e4.bottom),e4.left=W(r4.left,e4.left),e4},oe(t3,a2,i2));return{width:s2.right-s2.left,height:s2.bottom-s2.top,x:s2.left,y:s2.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e3){let{rect:t3,offsetParent:n3,strategy:r3}=e3;const i2=F(n3),o2=J(n3);if(n3===o2)return t3;let a2={scrollLeft:0,scrollTop:0};const s2={x:0,y:0};if((i2||!i2&&r3!=="fixed")&&((L(n3)!=="body"||$(o2))&&(a2=Q(n3)),F(n3))){const e4=Y(n3,!0);s2.x=e4.x+n3.clientLeft,s2.y=e4.y+n3.clientTop}return{...t3,x:t3.x-a2.scrollLeft+s2.x,y:t3.y-a2.scrollTop+s2.y}},isElement:V,getDimensions:ne,getOffsetParent:te,getDocumentElement:J,getElementRects:e3=>{let{reference:t3,floating:n3,strategy:r3}=e3;return{reference:X(t3,te(n3),r3),floating:{...ne(n3),x:0,y:0}}},getClientRects:e3=>Array.from(e3.getClientRects()),isRTL:e3=>M(e3).direction==="rtl"};function ue(e3,t3,n3,r3){r3===void 0&&(r3={});const{ancestorScroll:i2=!0,ancestorResize:o2=!0,elementResize:a2=!0,animationFrame:s2=!1}=r3,u2=i2&&!s2,c2=o2&&!s2,l2=u2||c2?[...V(e3)?ie(e3):[],...ie(t3)]:[];l2.forEach(e4=>{u2&&e4.addEventListener("scroll",n3,{passive:!0}),c2&&e4.addEventListener("resize",n3)});let f2,p2=null;if(a2){let r4=!0;p2=new ResizeObserver(()=>{r4||n3(),r4=!1}),V(e3)&&!s2&&p2.observe(e3),p2.observe(t3)}let d2=s2?Y(e3):null;return s2&&function t4(){const r4=Y(e3);!d2||r4.x===d2.x&&r4.y===d2.y&&r4.width===d2.width&&r4.height===d2.height||n3(),d2=r4,f2=requestAnimationFrame(t4)}(),n3(),()=>{var e4;l2.forEach(e5=>{u2&&e5.removeEventListener("scroll",n3),c2&&e5.removeEventListener("resize",n3)}),(e4=p2)==null||e4.disconnect(),p2=null,s2&&cancelAnimationFrame(f2)}}const ce=(e3,t3,n3)=>(async(e4,t4,n4)=>{const{placement:r3="bottom",strategy:i2="absolute",middleware:o2=[],platform:a2}=n4,u2=await(a2.isRTL==null?void 0:a2.isRTL(t4));let c2=await a2.getElementRects({reference:e4,floating:t4,strategy:i2}),{x:l2,y:f2}=s(c2,r3,u2),p2=r3,d2={},h2=0;for(let n5=0;n5<o2.length;n5++){const{name:v2,fn:m2}=o2[n5],{x:y2,y:g2,data:b2,reset:_2}=await m2({x:l2,y:f2,initialPlacement:r3,placement:p2,strategy:i2,middlewareData:d2,rects:c2,platform:a2,elements:{reference:e4,floating:t4}});l2=y2??l2,f2=g2??f2,d2={...d2,[v2]:{...d2[v2],...b2}},_2&&h2<=50&&(h2++,typeof _2=="object"&&(_2.placement&&(p2=_2.placement),_2.rects&&(c2=_2.rects===!0?await a2.getElementRects({reference:e4,floating:t4,strategy:i2}):_2.rects),{x:l2,y:f2}=s(c2,p2,u2)),n5=-1)}return{x:l2,y:f2,placement:p2,strategy:i2,middlewareData:d2}})(e3,t3,{platform:se,...n3});var le=n2(2015),fe=n2(2326),pe=typeof document<"u"?le.useLayoutEffect:le.useEffect;function de(e3,t3){if(e3===t3)return!0;if(typeof e3!=typeof t3)return!1;if(typeof e3=="function"&&e3.toString()===t3.toString())return!0;let n3,r3,i2;if(e3&&t3&&typeof e3=="object"){if(Array.isArray(e3)){if(n3=e3.length,n3!=t3.length)return!1;for(r3=n3;r3--!=0;)if(!de(e3[r3],t3[r3]))return!1;return!0}if(i2=Object.keys(e3),n3=i2.length,n3!==Object.keys(t3).length)return!1;for(r3=n3;r3--!=0;)if(!Object.prototype.hasOwnProperty.call(t3,i2[r3]))return!1;for(r3=n3;r3--!=0;){const n4=i2[r3];if(!(n4==="_owner"&&e3.$$typeof||de(e3[n4],t3[n4])))return!1}return!0}return e3!=e3&&t3!=t3}function he(e3){let{middleware:t3,placement:n3="bottom",strategy:r3="absolute",whileElementsMounted:i2}=e3===void 0?{}:e3;const o2=le.useRef(null),a2=le.useRef(null),s2=function(e4){const t4=le.useRef(e4);return pe(()=>{t4.current=e4}),t4}(i2),u2=le.useRef(null),[c2,l2]=le.useState({x:null,y:null,strategy:r3,placement:n3,middlewareData:{}}),[f2,p2]=le.useState(t3);de(f2?.map(e4=>{let{options:t4}=e4;return t4}),t3?.map(e4=>{let{options:t4}=e4;return t4}))||p2(t3);const d2=le.useCallback(()=>{o2.current&&a2.current&&ce(o2.current,a2.current,{middleware:f2,placement:n3,strategy:r3}).then(e4=>{h2.current&&fe.flushSync(()=>{l2(e4)})})},[f2,n3,r3]);pe(()=>{h2.current&&d2()},[d2]);const h2=le.useRef(!1);pe(()=>(h2.current=!0,()=>{h2.current=!1}),[]);const v2=le.useCallback(()=>{if(typeof u2.current=="function"&&(u2.current(),u2.current=null),o2.current&&a2.current)if(s2.current){const e4=s2.current(o2.current,a2.current,d2);u2.current=e4}else d2()},[d2,s2]),m2=le.useCallback(e4=>{o2.current=e4,v2()},[v2]),y2=le.useCallback(e4=>{a2.current=e4,v2()},[v2]),g2=le.useMemo(()=>({reference:o2,floating:a2}),[]);return le.useMemo(()=>({...c2,update:d2,refs:g2,reference:m2,floating:y2}),[c2,d2,g2,m2,y2])}const ve=e3=>{const{element:t3,padding:n3}=e3;return{name:"arrow",options:e3,fn:e4=>function(e5){return Object.prototype.hasOwnProperty.call(e5,"current")}(t3)?t3.current!=null?h({element:t3.current,padding:n3}).fn(e4):{}:t3?h({element:t3,padding:n3}).fn(e4):{}}}},2895:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.NativeLink=void 0;var r2=n2(7593);Object.defineProperty(t2,"NativeLink",{enumerable:!0,get:function(){return r2.NativeLink}})},7593:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3),Object.defineProperty(e3,r3,{enumerable:!0,get:function(){return t3[n3]}})}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},a=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3};Object.defineProperty(t2,"__esModule",{value:!0}),t2.NativeLink=void 0;const s=o(n2(2015)),u={rel:"noopener",target:"_blank"};t2.NativeLink=function(e3){var{href:t3="",external:n3,replace:r3,onClick:i2}=e3,o2=a(e3,["href","external","replace","onClick"]);const c=n3?u:{},l=s.useCallback(e4=>{const o3=i2?.(e4);return e4.defaultPrevented||!r3||n3||(e4.preventDefault(),window.location.replace(t3)),o3},[t3,r3,i2]);return s.default.createElement("a",Object.assign({},o2,c,{onClick:l,href:t3}))}},4445:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.affix=void 0,t2.affix=function(e3="",t3,n2=""){return t3?`${e3}${t3}${n2}`:""}},1611:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.affix=void 0;var r2=n2(4445);Object.defineProperty(t2,"affix",{enumerable:!0,get:function(){return r2.affix}})},5950:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.BitError=void 0;class n2 extends Error{constructor(e3){super(e3||""),this.isUserError=!0,this.name=this.constructor.name}report(){return this.message}}t2.BitError=n2},4490:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.BitError=void 0;var r2=n2(5950);Object.defineProperty(t2,"BitError",{enumerable:!0,get:function(){return r2.BitError}})},8635:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ComponentIdList=void 0;const r2=n2(2935),i=n2(1936),o=n2(6578);class a extends Array{toStringArray(){return this.map(e3=>e3.toString())}has(e3){return Boolean(this.search(e3))}hasWithoutVersion(e3){return Boolean(this.searchWithoutVersion(e3))}hasWithoutScopeAndVersion(e3){return Boolean(this.searchWithoutScopeAndVersion(e3))}search(e3){return this.find(t3=>t3.fullName===e3.fullName&&t3.scope===e3.scope&&t3._legacy.hasSameVersion(e3._legacy))}searchWithoutVersion(e3){return this.find(t3=>t3.fullName===e3.fullName&&t3.scope===e3.scope)}searchWithoutScopeAndVersion(e3){return this.find(t3=>t3.fullName===e3.fullName)}searchStrWithoutVersion(e3){return this.find(t3=>t3.toStringWithoutVersion()===e3)}filterExact(e3){return this.filter(t3=>t3.fullName===e3.fullName&&t3.scope===e3.scope&&t3.hasSameVersion(e3))}filterWithoutVersion(e3){return this.filter(t3=>t3.fullName===e3.fullName&&t3.scope===e3.scope)}removeIfExist(e3){return a.fromArray(this.filter(t3=>!t3.isEqual(e3)))}toObject(){return this.reduce((e3,t3)=>(e3[t3.toString()]=t3,e3),{})}toString(){return this.map(e3=>e3.toString()).join(", ")}toGroupByIdWithoutVersion(){return this.reduce((e3,t3)=>{const n3=t3.toStringWithoutVersion();return e3[n3]?e3[n3].push(t3):e3[n3]=new a(t3),e3},{})}toGroupByScopeName(){return this.reduce((e3,t3)=>{const n3=t3.scope;return e3[n3]?e3[n3].push(t3):e3[n3]=new a(t3),e3},{})}findDuplicationsIgnoreVersion(){const e3={};return this.forEach(t3=>{const n3=this.filterWithoutVersion(t3);n3.length>1&&(e3[t3.toStringWithoutVersion()]=n3)}),e3}add(e3){e3.forEach(e4=>{this.search(e4)||this.push(e4)})}static fromArray(e3){const t3=new a;return e3.forEach(e4=>t3.push(e4)),t3}static uniqFromArray(e3){const t3=(0,r2.uniqBy)(e3,e4=>e4.toString());return a.fromArray(t3)}static fromStringArray(e3=[]){return a.fromArray(e3.map(e4=>o.ComponentID.fromString(e4)))}throwForDuplicationIgnoreVersion(){this.forEach(e3=>{const t3=this.filterWithoutVersion(e3);if(t3.length>1)throw new Error(`componentIds has "${e3.toStringWithoutVersion()}" duplicated as following:
|
2
|
-
${t3.map(e4=>e4.toString()).join(`
|
3
|
-
`)}`)})}toVersionLatest(){return a.uniqFromArray(this.map(e3=>e3.changeVersion(i.LATEST_VERSION)))}clone(){return a.fromArray(this.map(e3=>e3.clone()))}}t2.ComponentIdList=a},6578:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ComponentID=void 0;const r2=n2(5575),i=n2(1904);class o{constructor(e3,t3){if(this._legacy=e3,this._scope=t3,!e3.name)throw new Error(`ComponentID expects to get an object with "name" prop. got ${e3}`);if(!t3&&!e3.scope)throw new i.MissingScope(e3)}hasVersion(){return this._legacy.hasVersion()}get version(){return this._legacy.version}get namespace(){return this._legacy.name.split("/").slice(0,-1).join("/")}get fullName(){return this._legacy.name}get name(){const e3=this._legacy.name.split("/");return e3[e3.length-1]}get scope(){const e3=this._legacy.scope;if(e3)return e3;if(!this._scope)throw new Error("scope cannot be undefined");return this._scope}changeScope(e3){const t3=this._legacy.changeScope(e3);return o.fromLegacy(t3,this.scope)}changeDefaultScope(e3){return o.fromLegacy(this._legacy,e3)}changeVersion(e3){const t3=this._legacy.changeVersion(e3);return o.fromLegacy(t3,this.scope)}isEqual(e3,t3){return o.isEqual(this,e3,t3)}isEqualWithoutVersion(e3){return this.isEqual(e3,{ignoreVersion:!0})}isLocal(e3){return this._legacy.isLocal(e3)}hasScope(){return this._legacy.hasScope()}serialize(){return this.toObject()}static deserialize(e3){return o.fromObject(e3)}static isValidVersion(e3){return r2.BitId.isValidVersion(e3)}static getVersionFromString(e3){return e3.split(r2.VERSION_DELIMITER)[1]}static getStringWithoutVersion(e3){return e3.split(r2.VERSION_DELIMITER)[0]}getVersionPreReleaseData(){return this._legacy.getVersionPreReleaseData()}toStringWithoutVersion(){let e3=this._legacy;return this._scope&&!this._legacy.scope&&(e3=e3.changeScope(this._scope)),e3.toStringWithoutVersion()}hasSameVersion(e3){return this._legacy.hasSameVersion(e3._legacy)}toString(e3={}){let t3=this._legacy;this._scope&&!this._legacy.scope&&(t3=t3.changeScope(this._scope));const n3=t3.toString(!1,e3.ignoreVersion);return e3.fsCompatible?n3.replace(/\//g,"_").replace(/\./g,"_").replace(/-/g,"_"):n3}toObject(){const e3=this._legacy.serialize();return e3.scope||(e3.scope=this.scope),e3}clone(){return o.fromLegacy(this._legacy.clone(),this._scope)}static tryFromString(e3,t3){try{return o.fromString(e3,t3)}catch{return}}static isValidCompIdStr(e3){return Boolean(o.tryFromString(e3))}static fromString(e3,t3){const n3=r2.BitId.parse(e3,!0);if(!t3&&!n3.scope)throw new i.MissingScope(e3);return new o(n3,t3)}static fromLegacyString(e3,t3){const n3=r2.BitId.parse(e3,!1);return new o(n3,t3)}static fromObject(e3,t3){if(e3 instanceof o)throw new Error(`ComponentID.fromObject expect to get an object, got an instance of ComponentID: ${e3.toString()}`);return o.fromLegacy(new r2.BitId(e3),t3)}static isValidObject(e3){return typeof e3=="object"&&typeof e3.name=="string"&&typeof e3.scope=="string"}static isEqual(e3,t3,n3={}){if(!e3&&!t3)return!0;if(!e3||!t3)return!1;const r3=e3.scope===t3.scope&&e3.toString({ignoreVersion:n3.ignoreVersion})===t3.toString({ignoreVersion:n3.ignoreVersion});return n3.ignoreVersion?r3:r3&&e3.hasSameVersion(t3)}static isEqualObj(e3,t3,n3={}){if(!e3&&!t3)return!0;if(!e3||!t3)return!1;let r3=e3.scope===t3.scope&&e3.name===t3.name;return n3.ignoreVersion||(r3=r3&&e3.version===t3.version),r3}static fromLegacy(e3,t3){if(!t3&&!e3.scope)throw new i.MissingScope(e3);return new o(e3,t3)}static sortIds(e3){return e3.sort((e4,t3)=>e4.toString().localeCompare(t3.toString()))}}t2.ComponentID=o},1904:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.MissingScope=void 0;const r2=n2(6805);Object.defineProperty(t2,"MissingScope",{enumerable:!0,get:function(){return r2.MissingScope}})},6805:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.MissingScope=void 0;class n2 extends Error{constructor(e3){super(`scope is missing from a component-id "${e3.toString()}".
|
4
|
-
in case you just upgraded bit version to >= 1.2.10 and you're getting this error, please run "bit cc" and then "bit status" to fix it.
|
5
|
-
if you're still getting the same error, run "bit reset --never-exported"`)}report(){return this.message}}t2.MissingScope=n2},1001:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ComponentIdList=t2.ComponentID=void 0;var r2=n2(6578);Object.defineProperty(t2,"ComponentID",{enumerable:!0,get:function(){return r2.ComponentID}});var i=n2(8635);Object.defineProperty(t2,"ComponentIdList",{enumerable:!0,get:function(){return i.ComponentIdList}})},2699:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.InvalidVersion=void 0;const i=r2(n2(657));t2.InvalidVersion=i.default},657:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});const r2=n2(4490);class i extends r2.BitError{constructor(e3){super(`error: version ${e3||"(empty)"} is not a valid semantic version. learn more: https://semver.org`)}}t2.default=i},1936:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3};Object.defineProperty(t2,"__esModule",{value:!0}),t2.SHORT_HASH_MINIMUM_SIZE=t2.HASH_SIZE=t2.InvalidVersion=t2.isTag=t2.isSnap=t2.isHash=t2.versionParser=t2.LATEST_VERSION=t2.Version=void 0;const a=n2(3980);Object.defineProperty(t2,"Version",{enumerable:!0,get:function(){return a.Version}}),Object.defineProperty(t2,"LATEST_VERSION",{enumerable:!0,get:function(){return a.LATEST_VERSION}});const s=o(n2(146));t2.versionParser=s.default,Object.defineProperty(t2,"isHash",{enumerable:!0,get:function(){return s.isHash}}),Object.defineProperty(t2,"isSnap",{enumerable:!0,get:function(){return s.isSnap}}),Object.defineProperty(t2,"isTag",{enumerable:!0,get:function(){return s.isTag}}),Object.defineProperty(t2,"HASH_SIZE",{enumerable:!0,get:function(){return s.HASH_SIZE}}),Object.defineProperty(t2,"SHORT_HASH_MINIMUM_SIZE",{enumerable:!0,get:function(){return s.SHORT_HASH_MINIMUM_SIZE}});const u=n2(2699);Object.defineProperty(t2,"InvalidVersion",{enumerable:!0,get:function(){return u.InvalidVersion}})},146:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.isSnap=t2.isTag=t2.isHash=t2.SHORT_HASH_MINIMUM_SIZE=t2.HASH_SIZE=void 0;const i=r2(n2(7449)),o=n2(2699),a=n2(3980);function s(e3){return Boolean(i.default.valid(e3))}function u(){return new a.Version(null,!0)}function c(e3){return typeof e3=="string"&&function(e4){return/^[0-9a-fA-F]+$/.test(e4)}(e3)&&e3.length>=t2.SHORT_HASH_MINIMUM_SIZE&&e3.length<=t2.HASH_SIZE}t2.HASH_SIZE=40,t2.SHORT_HASH_MINIMUM_SIZE=3,t2.isHash=c,t2.isTag=function(e3){return typeof e3=="string"&&s(e3)},t2.isSnap=function(e3){return c(e3)&&typeof e3=="string"&&e3.length===t2.HASH_SIZE},t2.default=function(e3){if(!e3||function(e4){return e4===a.LATEST_VERSION}(e3))return u();if(s(e3))return function(e4){return new a.Version(e4,!1)}(e3);if(c(e3))return t3=e3,new a.Version(t3,!1);var t3;throw new o.InvalidVersion(e3.toString())}},3980:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.Version=t2.LATEST_VERSION=void 0;const i=r2(n2(7449)),o=n2(2699);t2.LATEST_VERSION="latest",t2.Version=class{constructor(e3,t3){if(this.versionNum=e3,this.latest=t3,e3&&t3)throw new Error('a component version cannot have both: version and "latest"')}toString(){if(!this.versionNum&&this.latest)return"latest";if(this.versionNum&&!this.latest)return this.versionNum.toString();throw new o.InvalidVersion(this.versionNum)}isLaterThan(e3){return!this.versionNum||this.versionNum===t2.LATEST_VERSION||!(!e3.versionNum||e3.versionNum===t2.LATEST_VERSION)&&i.default.gt(this.versionNum,e3.versionNum)}}},2526:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.useComponentUrl=t2.ComponentUrlProvider=t2.ComponentUrlContext=void 0;const r2=n2(2015);t2.ComponentUrlContext=(0,r2.createContext)(void 0),t2.ComponentUrlProvider=t2.ComponentUrlContext.Provider,t2.useComponentUrl=(e3,n3)=>{const i=(0,r2.useContext)(t2.ComponentUrlContext);return i?.(e3,n3)}},967:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.ComponentUrl=void 0;const i=r2(n2(3268)),o=n2(1611),a=n2(1077);function s(e3){return e3.toString({ignoreVersion:!0}).replace(".","/")}t2.ComponentUrl={toUrl:function(e3,t3={}){const n3=i.default.stringify(c(e3,t3)),{useLocationOrigin:r3}=t3;return`${r3?window.location.origin:a.baseUrl}/${s(e3)}${(0,o.affix)("?",n3)}`},toPathname:s,toQuery:c};const u=/[\^~]/;function c(e3,{includeVersion:t3=!0}={}){var n3;return{version:t3&&e3.version!=="latest"?(n3=e3.version)===null||n3===void 0?void 0:n3.replace(u,""):void 0}}},1077:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.baseUrl=void 0,t2.baseUrl="https://bit.cloud"},6528:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.useComponentUrl=t2.ComponentUrlProvider=t2.ScopeUrl=t2.ComponentUrl=void 0;var r2=n2(967);Object.defineProperty(t2,"ComponentUrl",{enumerable:!0,get:function(){return r2.ComponentUrl}});var i=n2(4688);Object.defineProperty(t2,"ScopeUrl",{enumerable:!0,get:function(){return i.ScopeUrl}});var o=n2(2526);Object.defineProperty(t2,"ComponentUrlProvider",{enumerable:!0,get:function(){return o.ComponentUrlProvider}}),Object.defineProperty(t2,"useComponentUrl",{enumerable:!0,get:function(){return o.useComponentUrl}})},4688:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ScopeUrl=void 0;const r2=n2(1077);function i(e3){return e3.replace(".","/")}t2.ScopeUrl={toUrl:function(e3){return`${r2.baseUrl}/${i(e3)}`},toPathname:i}},1422:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.Aspect=void 0;class n2{constructor(e3,t3,n3,r2={},i,o){this.id=e3,this.dependencies=t3,this.slots=n3,this.defaultConfig=r2,this.declareRuntime=i,this.files=o,this._runtimes=[]}addRuntime(e3){return this._runtimes.push(e3),this}getRuntime(e3){return this._runtimes.find(t3=>typeof t3.runtime=="string"?t3.runtime===e3.name:t3.runtime.name===e3.name)}getRuntimes(){return this._runtimes}static create(e3){return new n2(e3.id,e3.dependencies||[],e3.slots||[],e3.defaultConfig,e3.declareRuntime,e3.files||[])}}t2.Aspect=n2},6629:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.Config=void 0;class n2{constructor(e3){this.raw=e3}toObject(){return Array.from(this.raw.entries()).reduce((e3,[t3,n3])=>(e3[t3]=n3,e3),{})}set(e3,t3){this.raw.set(e3,t3)}get(e3){return this.raw.get(e3)}static from(e3){return new n2(new Map(Object.entries(e3)))}}t2.Config=n2},5471:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.Config=void 0;var r2=n2(6629);Object.defineProperty(t2,"Config",{enumerable:!0,get:function(){return r2.Config}})},8102:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ExtensionInstantiationException=void 0;class n2 extends Error{}t2.ExtensionInstantiationException=n2},4452:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});class n2 extends Error{constructor(e3,t3,n3){super(),this.extension=e3,this.originalError=t3,this.msg=n3}toString(){return`failed to load extension: ${this.extension.name} with error:
|
6
|
-
|
7
|
-
${this.msg||this.originalError.stack}`}}t2.default=n2},9119:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});const r2=n2(8954);class i extends r2.HarmonyError{constructor(e3,t3){super(),this.extension=e3,this.validDeps=t3}toString(){return`Failed to load the dependencies for extension .
|
8
|
-
This may result from a wrong import or from circular dependencies in imports.
|
9
|
-
The following dependencies succeeded loading:`}}t2.default=i},5078:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.HarmonyAlreadyRunning=void 0;class n2 extends Error{}t2.HarmonyAlreadyRunning=n2},8954:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.HarmonyError=void 0;class n2 extends Error{}t2.HarmonyError=n2},933:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.HookNotFound=void 0;class n2 extends Error{}t2.HookNotFound=n2},8487:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.ExtensionInstantiationException=t2.HookNotFound=t2.HarmonyAlreadyRunning=t2.ExtensionPotentialCircular=t2.ExtensionLoadError=void 0;var i=n2(4452);Object.defineProperty(t2,"ExtensionLoadError",{enumerable:!0,get:function(){return r2(i).default}});var o=n2(9119);Object.defineProperty(t2,"ExtensionPotentialCircular",{enumerable:!0,get:function(){return r2(o).default}});var a=n2(5078);Object.defineProperty(t2,"HarmonyAlreadyRunning",{enumerable:!0,get:function(){return a.HarmonyAlreadyRunning}});var s=n2(933);Object.defineProperty(t2,"HookNotFound",{enumerable:!0,get:function(){return s.HookNotFound}});var u=n2(8102);Object.defineProperty(t2,"ExtensionInstantiationException",{enumerable:!0,get:function(){return u.ExtensionInstantiationException}})},6727:function(e2,t2,n2){"use strict";var r2=this&&this.__awaiter||function(e3,t3,n3,r3){return new(n3||(n3=Promise))(function(i2,o2){function a2(e4){try{u(r3.next(e4))}catch(e5){o2(e5)}}function s(e4){try{u(r3.throw(e4))}catch(e5){o2(e5)}}function u(e4){e4.done?i2(e4.value):function(e5){return e5 instanceof n3?e5:new n3(function(t4){t4(e5)})}(e4.value).then(a2,s)}u((r3=r3.apply(e3,t3||[])).next())})};Object.defineProperty(t2,"__esModule",{value:!0});const i=n2(1895),o=n2(235);class a extends i.Graph{constructor(){super(...arguments),this.cache=new Map}getRuntimeDependencies(e3,t3,n3={}){const r3=this.successors(e3.name),i2=this.successors(e3.name,e4=>!!e4.runtime&&e4.runtime===t3.name),o2=e3.getRuntime(t3);return o2?i2&&i2.size?this.sortDeps(o2.dependencies,Array.from(i2.values()),n3):this.sortDeps(o2.dependencies,Array.from(r3.values()),n3):Array.from(r3.values())}sortDeps(e3,t3,n3={}){const r3=n3.getName?e3?.map(e4=>(n3.getName&&(e4.id=n3.getName(e4)),e4))||[]:e3;return t3.sort((e4,t4)=>r3.findIndex(t5=>t5.id===e4.id)-r3.findIndex(e5=>e5.id===t4.id))}byExecutionOrder(){return this.toposort(!0)}enrichRuntimeExtension(e3,t3,n3,i2,o2,a2={}){return r2(this,void 0,void 0,function*(){yield o2(t3,n3);const s=t3.getRuntime(n3);if(!s)return;const u=s.dependencies;if(!u)return;const c=u.map(t4=>r2(this,void 0,void 0,function*(){const r3=a2.getName?a2.getName(t4):t4.id;if(!this.hasNode(r3)){this.add(t4),t4.declareRuntime&&i2.add(t4.declareRuntime);const e4=this.get(r3);if(!e4)return;yield o2(e4,n3),yield this.enrichRuntimeExtension(r3,this.get(r3),n3,i2,o2)}this.setEdge(e3,r3,{runtime:n3.name,type:"runtime-dependency"})}));return Promise.all(c)})}enrichRuntime(e3,t3,n3,i2={}){return r2(this,void 0,void 0,function*(){const o2=Array.from(this.nodes.entries()).map(([o3,a2])=>r2(this,void 0,void 0,function*(){return this.enrichRuntimeExtension(o3,a2,e3,t3,n3,i2)}));return Promise.all(o2)})}add(e3){const{vertices:t3,edges:n3}=(0,o.fromExtension)(e3);return this.setNodes(t3),this.setEdges(n3),this}load(e3){const t3=e3.filter(e4=>!!e4.id&&!this.get(e4.id)),{vertices:n3,edges:r3}=(0,o.fromExtensions)(t3);return this.setNodes(n3,!1),this.setEdges(r3),this}getExtension(e3){const t3=function(e4){return Reflect.getMetadata("harmony:name",e4)||e4.id||e4.name}(e3),n3=this.cache.get(t3);if(n3)return n3;const r3=this.node(t3);return r3?(this.cache.set(r3.name,r3),r3):null}get extensions(){return Array.from(this.nodes.values())}get aspects(){return this.extensions}get(e3){const t3=this.cache.get(e3);if(t3)return t3;const n3=this.node(e3);return n3?(this.cache.set(n3.name,n3),n3):null}static fromRoot(e3){const{vertices:t3,edges:n3}=(0,o.fromExtension)(e3);return new a(t3,n3)}static from(e3,t3={}){const{vertices:n3,edges:r3}=(0,o.fromExtensions)(e3,t3);return new a(n3,r3)}}t2.default=a},235:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.fromExtensions=t2.fromExtension=void 0;const i=n2(5825),o=r2(n2(9119));function a(e3,t3={}){const n3={};let r3=[];(function e4(a3){const s=t3.getName?t3.getName(a3):(u=a3,Reflect.getMetadata("harmony:name",u)||u.id||u.name);var u;if(n3[s])return;const c=(0,i.extensionFactory)(a3),l=c.dependencies.filter(e5=>e5).map(e5=>(0,i.extensionFactory)(e5));if(c.dependencies.length>l.length)throw new o.default(c,l);n3[s]=c;const f=l.map(e5=>({sourceId:s,targetId:e5.name,edge:{type:"dependency"}}));r3=r3.concat(f),c.dependencies.forEach(t4=>e4(t4))})(e3);let a2=[];for(let[e4,t4]of Object.entries(n3))a2.push({id:e4,node:t4});return{vertices:a2,edges:r3}}t2.fromExtension=a,t2.fromExtensions=function(e3,t3={}){return e3.map(e4=>a(e4,t3)).reduce((e4,t4)=>(e4.edges=e4.edges.concat(t4.edges),e4.vertices=e4.vertices.concat(t4.vertices),e4),{vertices:[],edges:[]})}},9587:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.HookRegistry=t2.hook=t2.createHook=t2.register=t2.provider=t2.ExtensionDecorator=void 0;const n2={};t2.ExtensionDecorator=function({name:e3,dependencies:t3}={}){return function(n3){Reflect.defineMetadata("harmony:name",e3||n3.name,n3),Reflect.defineMetadata("harmony:dependencies",function(e4,t4){const n4=t4||function(){return function(e5){return e5.provide?e5.provide:e5.provider}(e4)?[]:Reflect.getMetadata("design:paramtypes",e4)}()||[],r3=e4.__hookDeps?e4.__hookDeps:[];return n4.concat(r3)||[]}(n3,t3),n3)}},t2.provider=function(){return function(e3,t3,n3){Reflect.getMetadata("design:paramtypes",n3)}},t2.register=function(e3,t3){return function(r3,i,o){const a=Reflect.getMetadata("harmony:name",e3);n2[a]||(n2[a]={});const s=n2[a][t3||i];s&&s.register(r3[i])}},t2.createHook=function(){const e3=Math.random().toString(36).substring(2);n2[e3]=r2.create();const t3=function(t4,r3,i){n2[e3].register(i.value)};return t3.hash=e3,t3},t2.hook=function(e3){return function(t3,i){let o=r2.create();const a=Reflect.getMetadata("harmony:name",t3.constructor),s=e3||i;n2[a]?n2[a][s]=o:n2[a]={[s]:o},Object.defineProperty(t3,i,{get:()=>o,set:e4=>{o=e4}})}};class r2{constructor(e3,t3){this.fillers=e3,this.hash=t3}register(e3){this.fillers.push(e3)}list(){return this.fillers}static of(e3){return n2[e3.hash]}static create(){return new r2([])}}t2.HookRegistry=r2},8763:function(e2,t2,n2){"use strict";var r2=this&&this.__awaiter||function(e3,t3,n3,r3){return new(n3||(n3=Promise))(function(i2,o){function a(e4){try{u(r3.next(e4))}catch(e5){o(e5)}}function s(e4){try{u(r3.throw(e4))}catch(e5){o(e5)}}function u(e4){e4.done?i2(e4.value):function(e5){return e5 instanceof n3?e5:new n3(function(t4){t4(e5)})}(e4.value).then(a,s)}u((r3=r3.apply(e3,t3||[])).next())})};Object.defineProperty(t2,"__esModule",{value:!0}),t2.Extension=void 0;const i=n2(8102);t2.Extension=class{constructor(e3){this.manifest=e3,this._instance=null,this._loaded=!1}get instance(){return this._instance}get name(){return Reflect.getMetadata("harmony:name",this.manifest)||this.manifest.id||this.manifest.name}get id(){return this.name}get dependencies(){return Reflect.getMetadata("harmony:dependencies",this.manifest)||this.manifest.dependencies||[]}get provider(){return Reflect.getMetadata("harmony:provider",this.manifest)||this.manifest.provider}get files(){return this.manifest.files}get loaded(){return this._loaded}toString(){return JSON.stringify(this.name)}buildSlotRegistries(e3,t3){return e3.map(e4=>e4(()=>t3.current))}get declareRuntime(){return this.manifest.declareRuntime}getRuntime(e3){return this.manifest.getRuntime(e3)}getRuntimes(){return this.manifest.getRuntimes()}getSlots(e3){return e3.slots&&e3.slots.length?e3.slots:this.manifest.slots||[]}getConfig(e3,t3){const n3=t3.defaultConfig||this.manifest.defaultConfig||{},r3=e3.config.get(this.name)||{};return Object.assign({},n3,r3)}__run(e3,t3,n3){return r2(this,void 0,void 0,function*(){const r3=this.name;t3.initExtension(r3);const o=this.getRuntime(n3);if(!o)return;const a=this.buildSlotRegistries(this.getSlots(o),t3),s=this.getConfig(t3,o);if(!this.loaded){if(o.provider)this._instance=yield o.provider(e3,s,a,t3);else try{this._instance=new o.manifest(...e3)}catch(e4){throw new i.ExtensionInstantiationException(e4.toString())}return this._loaded=!0,this._instance}return t3.endExtension(),Promise.resolve(this.instance)})}}},6506:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.createHook=t2.provider=t2.HookRegistry=t2.hook=t2.register=t2.ExtensionDecorator=t2.Extension=void 0;var r2=n2(8763);Object.defineProperty(t2,"Extension",{enumerable:!0,get:function(){return r2.Extension}});var i=n2(9587);Object.defineProperty(t2,"ExtensionDecorator",{enumerable:!0,get:function(){return i.ExtensionDecorator}}),Object.defineProperty(t2,"register",{enumerable:!0,get:function(){return i.register}}),Object.defineProperty(t2,"hook",{enumerable:!0,get:function(){return i.hook}}),Object.defineProperty(t2,"HookRegistry",{enumerable:!0,get:function(){return i.HookRegistry}}),Object.defineProperty(t2,"provider",{enumerable:!0,get:function(){return i.provider}}),Object.defineProperty(t2,"createHook",{enumerable:!0,get:function(){return i.createHook}})},5435:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.extensionFactory=void 0;const r2=n2(8763);t2.extensionFactory=function(e3){return e3.provide&&(e3.provider=e3.provide),new r2.Extension(e3)}},5825:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.extensionFactory=void 0;var r2=n2(5435);Object.defineProperty(t2,"extensionFactory",{enumerable:!0,get:function(){return r2.extensionFactory}})},9518:function(e2,t2,n2){"use strict";var r2=this&&this.__awaiter||function(e3,t3,n3,r3){return new(n3||(n3=Promise))(function(i2,o2){function a2(e4){try{u2(r3.next(e4))}catch(e5){o2(e5)}}function s2(e4){try{u2(r3.throw(e4))}catch(e5){o2(e5)}}function u2(e4){e4.done?i2(e4.value):function(e5){return e5 instanceof n3?e5:new n3(function(t4){t4(e5)})}(e4.value).then(a2,s2)}u2((r3=r3.apply(e3,t3||[])).next())})},i=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.Harmony=void 0,n2(4957);const o=i(n2(6727)),a=n2(8487),s=n2(9542),u=n2(5471),c=n2(4139),l=n2(7159);class f{constructor(e3,t3,n3,r3,i2){this.graph=e3,this.config=t3,this.runtimes=n3,this.activeRuntime=r3,this.depOptions=i2,this.current=null}get extensions(){return this.graph.nodes}get extensionsIds(){return[...this.graph.nodes.keys()]}load(e3){return r2(this,void 0,void 0,function*(){return this.set(e3)})}set(e3){return r2(this,void 0,void 0,function*(){this.graph.load(e3);const t3=e3.map(e4=>Reflect.getMetadata("harmony:name",e4)||e4.id||e4.name);yield this.graph.enrichRuntime(this.runtime,this.runtimes,()=>{});const n3=this.graph.successorsSubgraph(t3);if(n3){const e4=n3.toposort(!0);yield(0,s.asyncForEach)(e4,e5=>r2(this,void 0,void 0,function*(){if(!this.runtime)throw new l.RuntimeNotDefined(this.activeRuntime);yield this.runOne(e5,this.runtime)}))}})}runOne(e3,t3){return r2(this,void 0,void 0,function*(){if(e3.loaded)return;const n3=this.graph.getRuntimeDependencies(e3,t3,this.depOptions).map(e4=>e4.instance);try{return e3.__run(n3,this,t3)}catch(t4){throw new a.ExtensionLoadError(e3,t4)}})}getDependencies(e3){if(!this.runtime)throw new l.RuntimeNotDefined(this.activeRuntime);return this.graph.getRuntimeDependencies(e3,this.runtime,this.depOptions)}initExtension(e3){this.current=e3}endExtension(){this.current=null}get(e3){const t3=this.graph.get(e3);if(!t3||!t3.instance)throw new Error(`failed loading extension ${e3}`);return t3.instance}resolveRuntime(e3){return this.runtimes.get(e3)}run(e3){return r2(this,void 0,void 0,function*(){const t3=this.resolveRuntime(this.activeRuntime);this.runtime=t3,yield this.graph.enrichRuntime(t3,this.runtimes,e3||((e4,t4)=>r2(this,void 0,void 0,function*(){t4.getRuntimeFile(e4.files)})),this.depOptions);const n3=this.graph.byExecutionOrder();yield(0,s.asyncForEach)(n3,e4=>r2(this,void 0,void 0,function*(){yield this.runOne(e4,t3)}))})}static load(e3,t3,n3,i2={}){return r2(this,void 0,void 0,function*(){const r3=o.default.from(e3,i2),a2=yield c.Runtimes.load(r3);return new f(r3,u.Config.from(n3),a2,t3,i2)})}}t2.Harmony=f},1684:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.AspectGraph=t2.RuntimeDefinition=t2.Aspect=t2.HarmonyError=t2.SlotRegistry=t2.Slot=t2.Harmony=t2.createHook=t2.provider=t2.hook=t2.HookRegistry=t2.register=t2.Extension=t2.ExtensionDecorator=void 0;var i=n2(6506);Object.defineProperty(t2,"ExtensionDecorator",{enumerable:!0,get:function(){return i.ExtensionDecorator}}),Object.defineProperty(t2,"Extension",{enumerable:!0,get:function(){return i.Extension}}),Object.defineProperty(t2,"register",{enumerable:!0,get:function(){return i.register}}),Object.defineProperty(t2,"HookRegistry",{enumerable:!0,get:function(){return i.HookRegistry}}),Object.defineProperty(t2,"hook",{enumerable:!0,get:function(){return i.hook}}),Object.defineProperty(t2,"provider",{enumerable:!0,get:function(){return i.provider}}),Object.defineProperty(t2,"createHook",{enumerable:!0,get:function(){return i.createHook}});var o=n2(9518);Object.defineProperty(t2,"Harmony",{enumerable:!0,get:function(){return o.Harmony}});var a=n2(2270);Object.defineProperty(t2,"Slot",{enumerable:!0,get:function(){return a.Slot}}),Object.defineProperty(t2,"SlotRegistry",{enumerable:!0,get:function(){return a.SlotRegistry}});var s=n2(8954);Object.defineProperty(t2,"HarmonyError",{enumerable:!0,get:function(){return s.HarmonyError}});var u=n2(1422);Object.defineProperty(t2,"Aspect",{enumerable:!0,get:function(){return u.Aspect}});var c=n2(4644);Object.defineProperty(t2,"RuntimeDefinition",{enumerable:!0,get:function(){return c.RuntimeDefinition}});var l=n2(6727);Object.defineProperty(t2,"AspectGraph",{enumerable:!0,get:function(){return r2(l).default}})},7159:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.RuntimeModuleError=t2.RuntimeNotDefined=void 0;var r2=n2(8575);Object.defineProperty(t2,"RuntimeNotDefined",{enumerable:!0,get:function(){return r2.RuntimeNotDefined}});var i=n2(8987);Object.defineProperty(t2,"RuntimeModuleError",{enumerable:!0,get:function(){return i.RuntimeModuleError}})},8987:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.RuntimeModuleError=void 0;class n2 extends Error{constructor(e3){super(`failed to load Harmony aspect with error message: ${e3.message}`),this.err=e3}get stack(){return this.err.stack}}t2.RuntimeModuleError=n2},8575:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.RuntimeNotDefined=void 0;class n2 extends Error{constructor(e3){super(`runtime: '${e3}' was not defined by any aspect`)}}t2.RuntimeNotDefined=n2},4644:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.RuntimeDefinition=t2.Runtimes=void 0;var r2=n2(4139);Object.defineProperty(t2,"Runtimes",{enumerable:!0,get:function(){return r2.Runtimes}});var i=n2(1420);Object.defineProperty(t2,"RuntimeDefinition",{enumerable:!0,get:function(){return i.RuntimeDefinition}})},1420:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.RuntimeDefinition=void 0;const n2=(e3,t3)=>e3.includes(`.${t3}.`);class r2{constructor(e3,t3=n2){this.name=e3,this.filePredicate=t3}getRuntimeFile(e3){return e3.find(e4=>this.filePredicate(e4,this.name))}require(e3){}static create(e3){return new r2(e3.name)}}t2.RuntimeDefinition=r2},4139:function(e2,t2,n2){"use strict";var r2=this&&this.__awaiter||function(e3,t3,n3,r3){return new(n3||(n3=Promise))(function(i2,o2){function a(e4){try{u(r3.next(e4))}catch(e5){o2(e5)}}function s(e4){try{u(r3.throw(e4))}catch(e5){o2(e5)}}function u(e4){e4.done?i2(e4.value):function(e5){return e5 instanceof n3?e5:new n3(function(t4){t4(e5)})}(e4.value).then(a,s)}u((r3=r3.apply(e3,t3||[])).next())})};Object.defineProperty(t2,"__esModule",{value:!0}),t2.Runtimes=void 0;const i=n2(7159);class o{constructor(e3){this.runtimeDefinition=e3}add(e3){return this.runtimeDefinition[e3.name]=e3,this}get(e3){if(!this.runtimeDefinition[e3])throw new i.RuntimeNotDefined(e3);return this.runtimeDefinition[e3]}dispose(){}static load(e3){return r2(this,void 0,void 0,function*(){const t3={};return e3.extensions.forEach(e4=>{e4.declareRuntime&&(t3[e4.declareRuntime.name]=e4.declareRuntime)}),new o(t3)})}}t2.Runtimes=o},2270:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.SlotRegistry=t2.Slot=void 0;var r2=n2(7512);Object.defineProperty(t2,"Slot",{enumerable:!0,get:function(){return r2.Slot}});var i=n2(7175);Object.defineProperty(t2,"SlotRegistry",{enumerable:!0,get:function(){return i.SlotRegistry}})},7175:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.SlotRegistry=void 0,t2.SlotRegistry=class{constructor(e3,t3=new Map){this.registerFn=e3,this.map=t3}get(e3){return this.map.get(e3)}toArray(){return Array.from(this.map.entries())}values(){return Array.from(this.map.values())}register(e3){const t3=this.registerFn();this.map.set(t3,e3)}}},7512:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.Slot=void 0;const r2=n2(7175);t2.Slot=class{static withType(){return e3=>new r2.SlotRegistry(e3)}}},108:function(e2,t2){"use strict";var n2=this&&this.__awaiter||function(e3,t3,n3,r2){return new(n3||(n3=Promise))(function(i,o){function a(e4){try{u(r2.next(e4))}catch(e5){o(e5)}}function s(e4){try{u(r2.throw(e4))}catch(e5){o(e5)}}function u(e4){e4.done?i(e4.value):function(e5){return e5 instanceof n3?e5:new n3(function(t4){t4(e5)})}(e4.value).then(a,s)}u((r2=r2.apply(e3,t3||[])).next())})};Object.defineProperty(t2,"__esModule",{value:!0}),t2.asyncForEach=void 0,t2.asyncForEach=function(e3,t3){return n2(this,void 0,void 0,function*(){for(let n3=0;n3<e3.length;n3+=1)yield t3(e3[n3],n3,e3)})}},9542:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.asyncForEach=void 0;var r2=n2(108);Object.defineProperty(t2,"asyncForEach",{enumerable:!0,get:function(){return r2.asyncForEach}})},7472:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},a=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.VERSION_DELIMITER=void 0;const s=a(n2(9936)),u=o(n2(2101)),c=o(n2(7449)),l=n2(2935),f=n2(1936),p=a(n2(5246)),d=a(n2(5391)),h=n2(2638);t2.VERSION_DELIMITER="@";class v{constructor({scope:e3,box:t3,name:n3,version:r3}){if(!n3)throw new h.InvalidName(n3);this.scope=e3||null,this.box=void 0,this.name=t3?`${t3}/${n3}`:n3,this.version=r3||void 0,Object.freeze(this)}clone(){return new v(this)}changeScope(e3){return new v({scope:e3,name:this.name,version:this.version})}changeVersion(e3){return new v({scope:this.scope,name:this.name,version:e3})}isLocal(e3){return!this.scope||Boolean(e3&&e3===this.scope)}getVersion(){return(0,f.versionParser)(this.version)}hasVersion(){return Boolean(this.version&&this.version!==f.LATEST_VERSION)}hasScope(){return Boolean(this.scope)}hasSameName(e3){return this.name===e3.name}hasSameScope(e3){return this.hasScope()&&e3.hasScope()?this.scope===e3.scope:!this.hasScope()&&!e3.hasScope()}hasSameVersion(e3){return this.hasVersion()&&e3.hasVersion()?this.version===e3.version:!this.hasVersion()&&!e3.hasVersion()}toString(e3=!1,n3=!1){const{name:r3,version:i2}=this,o2=this.scope,a2=e3||!o2?r3:[o2,r3].join("/");return n3||!this.hasVersion()?a2:a2.concat(`${t2.VERSION_DELIMITER}${i2}`)}toStringWithoutScope(){return this.toString(!0)}toStringWithoutVersion(){return this.toString(!1,!0)}toStringWithoutScopeAndVersion(){return this.toString(!0,!0)}isEqual(e3){return this.hasSameName(e3)&&this.hasSameScope(e3)&&this.hasSameVersion(e3)}isEqualWithoutVersion(e3){return this.hasSameName(e3)&&this.hasSameScope(e3)}isEqualWithoutScopeAndVersion(e3){return this.hasSameName(e3)}serialize(){const e3={scope:this.scope,name:this.name,version:this.version};return this.hasVersion()||delete e3.version,this.hasScope()||delete e3.scope,e3}toFullPath(){if(!this.scope||!this.version)throw new Error("BitId.toFullPath is unable to generate a path without a scope or a version");return u.join(this.name,this.scope,this.version)}isVersionSnap(){return!(0,f.isTag)(this.version)}getVersionPreReleaseData(){return this.version?c.prerelease(this.version):null}static getStringWithoutVersion(e3){const n3=e3.split(t2.VERSION_DELIMITER);let r3=n3[0];return e3.startsWith(t2.VERSION_DELIMITER)&&(r3=`${t2.VERSION_DELIMITER}${n3[1]}`),r3}static getVersionOnlyFromString(e3){return e3.split(t2.VERSION_DELIMITER)[1]}static parse(e3,n3=!0,r3=f.LATEST_VERSION){if(typeof e3!="string")throw new TypeError('BitId.parse expects to get "id" as a string, instead, got '+typeof e3);if(e3.includes(t2.VERSION_DELIMITER)&&e3.lastIndexOf(t2.VERSION_DELIMITER)>0){const[n4,i3]=e3.split(t2.VERSION_DELIMITER);e3=n4,r3=i3}const{scope:i2,name:o2}=n3?v.getScopeAndName(e3):{scope:void 0,name:e3};if(!(0,p.default)(o2))throw new h.InvalidName(o2);if(i2&&!(0,d.default)(i2))throw new h.InvalidScopeName(i2,e3);return new v({scope:i2,name:o2,version:r3})}static getScopeAndName(e3){const t3=e3.indexOf("/");if(t3<0)throw new h.InvalidBitId(e3);return{scope:e3.substring(0,t3),name:e3.substring(t3+1)}}static parseObsolete(e3,n3=f.LATEST_VERSION){if(e3.includes(t2.VERSION_DELIMITER)){const[r4,i2]=e3.split(t2.VERSION_DELIMITER);e3=r4,n3=i2}const r3=e3.split("/");if(r3.length===3){const[e4,t3,i2]=r3;if(!(0,p.default)(i2,!1)||!(0,p.default)(t3,!1)||!(0,d.default)(e4))throw new h.InvalidIdChunk(`${e4}/${t3}/${i2}`);return new v({scope:e4,box:t3,name:i2,version:n3})}if(r3.length===2){const[e4,t3]=r3;if(!(0,p.default)(t3,!1)||!(0,p.default)(e4,!1))throw new h.InvalidIdChunk(`${e4}/${t3}`);return new v({box:e4,name:t3,version:n3})}if(r3.length===1){const[e4]=r3;if(!(0,p.default)(e4))throw new h.InvalidIdChunk(e4);return new v({name:e4,version:n3})}throw new h.InvalidBitId(e3)}static parseBackwardCompatible(e3){return typeof e3=="string"?v.parseObsolete(e3):new v(e3)}static getValidScopeName(e3){let t3=e3.toLowerCase().split("").map(e4=>/^[$\-_!.a-z0-9]+$/.test(e4)?e4:"").join("");const n3=t3.split(".");if(n3.length>1&&(t3=`${(0,l.head)(n3)}.${(0,l.tail)(n3).join("")}`),!t3)throw new Error("scope name created by directory name have to contains at least one character or number");return t3}static getValidIdChunk(e3){return(0,p.default)(e3)||(e3=(e3=e3.replace(/\./g,"")).replace(/ /g,"-"),e3=(0,s.default)(e3,"-")),e3}static getValidBitId(e3,t3){return new v({name:v.getValidIdChunk(t3),box:e3?v.getValidIdChunk(e3):void 0})}static isValidVersion(e3){return(0,f.isTag)(e3)||(0,f.isHash)(e3)}static isValidSemver(e3){return Boolean(c.valid(e3))}}t2.default=v},2063:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0});const i=n2(2935),o=n2(1936),a=r2(n2(7472));class s extends Array{serialize(){return this.map(e3=>e3.toString())}has(e3){return Boolean(this.search(e3))}hasWithoutVersion(e3){return Boolean(this.searchWithoutVersion(e3))}hasWithoutScope(e3){return Boolean(this.searchWithoutScope(e3))}hasWithoutScopeAndVersion(e3){return Boolean(this.searchWithoutScopeAndVersion(e3))}hasWithoutScopeAndVersionAsString(e3){return Boolean(this.find(t3=>t3.name===e3))}search(e3){return this.find(t3=>t3.hasSameName(e3)&&t3.hasSameScope(e3)&&t3.hasSameVersion(e3))}searchWithoutVersion(e3){return this.find(t3=>t3.hasSameName(e3)&&t3.hasSameScope(e3))}searchWithoutScopeAndVersion(e3){return this.find(t3=>t3.hasSameName(e3))}searchWithoutScope(e3){return this.find(t3=>t3.hasSameName(e3)&&t3.hasSameVersion(e3))}searchStrWithoutVersion(e3){return this.find(t3=>t3.toStringWithoutVersion()===e3)}searchStrWithoutScopeAndVersion(e3){return this.find(t3=>t3.toStringWithoutScopeAndVersion()===e3)}filterExact(e3){return this.filter(t3=>t3.hasSameName(e3)&&t3.hasSameScope(e3)&&t3.hasSameVersion(e3))}filterWithoutVersion(e3){return this.filter(t3=>t3.hasSameName(e3)&&t3.hasSameScope(e3))}filterWithoutScopeAndVersion(e3){return this.filter(t3=>t3.hasSameName(e3))}removeIfExist(e3){return s.fromArray(this.filter(t3=>!t3.isEqual(e3)))}difference(e3){return s.fromArray(this.filter(t3=>!e3.search(t3)))}removeIfExistWithoutVersion(e3){return s.fromArray(this.filter(t3=>!t3.isEqualWithoutVersion(e3)))}removeMultipleIfExistWithoutVersion(e3){return s.fromArray(this.filter(t3=>!e3.hasWithoutVersion(t3)))}toObject(){return this.reduce((e3,t3)=>(e3[t3.toString()]=t3,e3),{})}static deserialize(e3=[]){return new s(...e3.map(e4=>a.default.parse(e4,!0)))}static deserializeObsolete(e3=[]){return new s(...e3.map(e4=>a.default.parseObsolete(e4)))}toString(){return this.map(e3=>e3.toString()).join(", ")}toGroupByIdWithoutVersion(){return this.reduce((e3,t3)=>{const n3=t3.toStringWithoutVersion();return e3[n3]?e3[n3].push(t3):e3[n3]=new s(t3),e3},{})}toGroupByScopeName(e3){return this.reduce((t3,n3)=>{const r3=(()=>{if(n3.scope)return n3.scope;const t4=e3.searchWithoutScopeAndVersion(n3);return t4?t4.scope:null})();if(!r3)throw new Error(`toGroupByScopeName() expect ids to have a scope name, got ${n3.toString()}`);return t3[r3]?t3[r3].push(n3):t3[r3]=new s(n3),t3},{})}findDuplicationsIgnoreVersion(){const e3={};return this.forEach(t3=>{const n3=this.filterWithoutVersion(t3);n3.length>1&&(e3[t3.toStringWithoutVersion()]=n3)}),e3}add(e3){e3.forEach(e4=>{this.search(e4)||this.push(e4)})}static fromObject(e3){const t3=[];return(0,i.forEach)(e3,(e4,n3)=>{t3.push(a.default.parse(n3,!0,e4))}),new s(...t3)}static fromArray(e3){const t3=new s;return e3.forEach(e4=>t3.push(e4)),t3}static uniqFromArray(e3){const t3=(0,i.uniqBy)(e3,e4=>e4.toString());return s.fromArray(t3)}throwForDuplicationIgnoreVersion(){this.forEach(e3=>{const t3=this.filterWithoutVersion(e3);if(t3.length>1)throw new Error(`bitIds has "${e3.toStringWithoutVersion()}" duplicated as following:
|
10
|
-
${t3.map(e4=>e4.toString()).join(`
|
11
|
-
`)}`)})}toVersionLatest(){return s.uniqFromArray(this.map(e3=>e3.changeVersion(o.LATEST_VERSION)))}clone(){const e3=this.map(e4=>e4.clone());return new s(...e3)}}t2.default=s},2638:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.InvalidScopeNameFromRemote=t2.InvalidScopeName=t2.InvalidName=t2.InvalidIdChunk=t2.InvalidBitId=void 0;const i=r2(n2(2273));t2.InvalidBitId=i.default;const o=r2(n2(7927));t2.InvalidIdChunk=o.default;const a=r2(n2(1269));t2.InvalidName=a.default;const s=r2(n2(7254));t2.InvalidScopeName=s.default;const u=r2(n2(2878));t2.InvalidScopeNameFromRemote=u.default},2273:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});const r2=n2(4490);class i extends r2.BitError{constructor(e3){super(`error: component ID "${e3}" is invalid, please use the following format: [scope]/<name>`)}}t2.default=i},7927:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});const r2=n2(4490);class i extends r2.BitError{constructor(e3){super(`error: "${e3}" is invalid, component IDs can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}t2.default=i},1269:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});const r2=n2(4490);class i extends r2.BitError{constructor(e3){super(`error: "${e3}" is invalid, component names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!", "/"]`)}}t2.default=i},2878:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});const r2=n2(4490);class i extends r2.BitError{constructor(e3){super(`cannot find scope '${e3}'.
|
12
|
-
if you are targeting a self-hosted scope, please ensure the scope is configured in your remotes (via "bit remote" command) and that the scope name is correct.
|
13
|
-
if this is a scope on bit.cloud please add the organization name before the scope (yourOrg.some-scope-name)`),this.scopeName=e3}}t2.default=i},7254:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});const r2=n2(4490);class i extends r2.BitError{constructor(e3,t3,n3){super(`error: "${t3||e3}" ${n3?`configured in variant "${n3}" `:""}is invalid, component scope names can only contain alphanumeric, lowercase characters, and the following ["-", "_", "$", "!"]`)}}t2.default=i},5575:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},a=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.InvalidScopeNameFromRemote=t2.InvalidScopeName=t2.InvalidName=t2.isValidIdChunk=t2.isValidScopeName=t2.VERSION_DELIMITER=t2.BitIds=t2.BitId=void 0;const s=o(n2(7472));t2.BitId=s.default,Object.defineProperty(t2,"VERSION_DELIMITER",{enumerable:!0,get:function(){return s.VERSION_DELIMITER}});const u=a(n2(2063));t2.BitIds=u.default;const c=n2(2638);Object.defineProperty(t2,"InvalidName",{enumerable:!0,get:function(){return c.InvalidName}}),Object.defineProperty(t2,"InvalidScopeName",{enumerable:!0,get:function(){return c.InvalidScopeName}}),Object.defineProperty(t2,"InvalidScopeNameFromRemote",{enumerable:!0,get:function(){return c.InvalidScopeNameFromRemote}});const l=a(n2(5391));t2.isValidScopeName=l.default;const f=a(n2(5246));t2.isValidIdChunk=f.default},5246:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});const n2=/^[-_a-z0-9/]+$/,r2=/^[-_a-z0-9]+$/;t2.default=function(e3,t3=!0){return typeof e3=="string"&&!e3.includes("//")&&(t3?n2:r2).test(e3)}},5391:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});const n2=/^[$\-_!a-z0-9]+[.]?[$\-_!a-z0-9]+$/;t2.default=function(e3){return typeof e3=="string"&&n2.test(e3)}},6300:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.linkModules=t2.PreviewModules=t2.PREVIEW_MODULES=void 0;var r2=n2(668);Object.defineProperty(t2,"PREVIEW_MODULES",{enumerable:!0,get:function(){return r2.PREVIEW_MODULES}}),Object.defineProperty(t2,"PreviewModules",{enumerable:!0,get:function(){return r2.PreviewModules}}),Object.defineProperty(t2,"linkModules",{enumerable:!0,get:function(){return r2.linkModules}})},668:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.linkModules=t2.PREVIEW_MODULES=t2.PreviewModules=void 0;class n2 extends Map{constructor(){super(...arguments),this.onSet=new Set}set(e3,t3){return super.set(e3,t3),this.onSet.forEach(e4=>e4()),this}loadComponentPreviews(e3,t3){Object.entries(t3).forEach(([t4,n3])=>{const r2=this.get(t4);r2&&(r2.componentMap[e3]=n3)})}}t2.PreviewModules=n2,t2.PREVIEW_MODULES=typeof window<"u"?(window.__bit_preview_modules||(window.__bit_preview_modules=new n2),window.__bit_preview_modules):new n2,t2.linkModules=function(e3,n3){t2.PREVIEW_MODULES.set(e3,n3)}},833:(e2,t2)=>{"use strict";function n2(e3){for(let t3=e3;t3!==null&&t3.type!==null;t3=t3.return)if(typeof t3.type=="function"||typeof t3.type=="object"&&typeof t3.type.render=="function")return t3;return null}Object.defineProperty(t2,"__esModule",{value:!0}),t2.fiberToPrototype=t2.toRootFiber=t2.domToFiber=void 0,t2.domToFiber=function(e3){if(!e3)return null;const t3=Object.keys(e3).find(e4=>e4.startsWith("__reactFiber")||e4.startsWith("__reactInternalInstance"));return t3&&e3[t3]||null},t2.toRootFiber=n2,t2.fiberToPrototype=function(e3){var t3;return((t3=n2(e3))===null||t3===void 0?void 0:t3.type)||null}},7304:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.domToReacts=t2.domToReact=t2.toRootElement=void 0;const r2=n2(833);function i(e3){if(e3===null)return[];const t3=(0,r2.domToFiber)(e3);return function(e4){const t4=[];let n3=e4;for(;n3&&n3.type!==null&&typeof n3.type!="string";)t4.push(n3.type),n3=n3.return;return t4}((0,r2.toRootFiber)(t3))}t2.toRootElement=function(e3){const t3=(0,r2.toRootFiber)((0,r2.domToFiber)(e3));if(!t3)return null;for(let n3=e3;n3;n3=n3.parentElement){const e4=(0,r2.domToFiber)(n3);if(!e4)return null;const i2=e4.return;if(e4===t3||i2===t3)return n3}return null},t2.domToReact=function(e3){return i(e3).pop()},t2.domToReacts=i},9046:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.fiberToPrototype=t2.toRootFiber=t2.domToFiber=t2.toRootElement=t2.domToReacts=t2.domToReact=void 0;var r2=n2(7304);Object.defineProperty(t2,"domToReact",{enumerable:!0,get:function(){return r2.domToReact}}),Object.defineProperty(t2,"domToReacts",{enumerable:!0,get:function(){return r2.domToReacts}}),Object.defineProperty(t2,"toRootElement",{enumerable:!0,get:function(){return r2.toRootElement}});var i=n2(833);Object.defineProperty(t2,"domToFiber",{enumerable:!0,get:function(){return i.domToFiber}}),Object.defineProperty(t2,"toRootFiber",{enumerable:!0,get:function(){return i.toRootFiber}}),Object.defineProperty(t2,"fiberToPrototype",{enumerable:!0,get:function(){return i.fiberToPrototype}})},464:function(e2,t2,n2){"use strict";var r2=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},i=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.ChildrenHighlighter=void 0;const o=i(n2(2015)),a=n2(6992);t2.ChildrenHighlighter=function(e3){var{watchMotion:t3=!1}=e3,n3=r2(e3,["watchMotion"]);return o.default.createElement(a.HybridHighlighter,Object.assign({},n3,{mode:"allChildren",watchMotion:t3}))}},3789:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ChildrenHighlighter=t2.useChildrenHighlighter=void 0;var r2=n2(370);Object.defineProperty(t2,"useChildrenHighlighter",{enumerable:!0,get:function(){return r2.useChildrenHighlighter}});var i=n2(464);Object.defineProperty(t2,"ChildrenHighlighter",{enumerable:!0,get:function(){return i.ChildrenHighlighter}})},370:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.useChildrenHighlighter=void 0;const i=n2(2015),o=r2(n2(5692)),a=n2(9046),s=n2(5489),u=n2(9835),c=n2(2014);t2.useChildrenHighlighter=function({onChange:e3,disabled:t3,scopeRef:n3,scopeClass:r3="",rule:l,componentRule:f}){(0,i.useEffect)(()=>{const i2={},p=n3.current;if(!p||t3)return;let d=Array.from(p.querySelectorAll(function(e4=":scope"){return`:not(${`${e4} ${u.excludeHighlighterSelector}, ${e4} ${u.excludeHighlighterSelector} *`}, ${`${e4} ${u.skipHighlighterSelector}, ${e4} ${u.skipHighlighterSelector} *`})`}(`.${r3}`)));l&&(d=d.filter(e4=>(0,c.ruleMatcher)(e4,l)));const h=d.map(a.toRootElement).filter(e4=>!!e4);new Set(h).forEach(e4=>{if(!e4)return;const t4=(0,a.domToReacts)(e4).filter(e5=>(0,s.hasComponentMeta)(e5)&&(0,c.componentRuleMatcher)({meta:e5[s.componentMetaField]},f));if(t4.length<1)return;const n4=(0,o.default)(e4);i2[n4]={element:e4,components:t4}}),e3(i2)},[t3,r3])}},8556:function(e2,t2,n2){"use strict";var r2=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},i=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.ElementHighlighter=void 0;const o=i(n2(2015)),a=i(n2(7500)),s=n2(4813),u=n2(6018),c=n2(9835),l=i(n2(4610));t2.ElementHighlighter=function(e3){var{targetRef:t3,components:n3,placement:i2="top",watchMotion:f,className:p,classes:d}=e3,h=r2(e3,["targetRef","components","placement","watchMotion","className","classes"]);return o.default.createElement("div",Object.assign({},h,c.skipHighlighterAttr,{className:(0,a.default)(d?.container,l.default.container,p)}),o.default.createElement(s.Frame,{targetRef:t3,className:(0,a.default)(l.default.frame,d?.frame),watchMotion:f}),n3&&o.default.createElement(u.LabelContainer,{targetRef:t3,className:l.default.label,placement:i2,watchMotion:f},o.default.createElement(u.Label,{components:n3,className:d?.label})))}},6786:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ElementHighlighter=void 0;var r2=n2(8556);Object.defineProperty(t2,"ElementHighlighter",{enumerable:!0,get:function(){return r2.ElementHighlighter}})},9636:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},a=this&&this.__awaiter||function(e3,t3,n3,r3){return new(n3||(n3=Promise))(function(i2,o2){function a2(e4){try{u2(r3.next(e4))}catch(e5){o2(e5)}}function s2(e4){try{u2(r3.throw(e4))}catch(e5){o2(e5)}}function u2(e4){e4.done?i2(e4.value):function(e5){return e5 instanceof n3?e5:new n3(function(t4){t4(e5)})}(e4.value).then(a2,s2)}u2((r3=r3.apply(e3,t3||[])).next())})},s=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.Frame=void 0;const u=o(n2(2015)),c=s(n2(7500)),l=n2(8401),f=s(n2(4858)),p=+f.default.offset||6,d={rootBoundary:"document",padding:0},h=typeof window<"u"&&!!window.ResizeObserver;t2.Frame=function({targetRef:e3,watchMotion:t3,className:n3,stylesClass:r3=f.default.overlayBorder,style:i2}){var o2;const s2=(0,u.useRef)({width:0,height:0}),{x:v,y:m,strategy:y,reference:g,floating:b,update:_,refs:E,middlewareData:w}=(0,l.useFloating)({placement:"bottom-start",middleware:[{name:"align-to-target",fn:({rects:e4})=>(e4.floating=Object.assign(Object.assign({},e4.floating),{width:e4.reference.width+2*p,height:e4.reference.height+2*p}),{})},(0,l.offset)(({rects:e4})=>-e4.reference.height),(0,l.offset)(()=>({mainAxis:-p,crossAxis:-p})),{name:"shiftPositive",fn:e4=>a(this,void 0,void 0,function*(){const t4=yield(0,l.detectOverflow)(e4,d),n4={x:t4.left>0?e4.x+t4.left:e4.x,y:t4.top>0?e4.y+t4.top:e4.y},r4={x:n4.x-e4.x,y:n4.y-e4.y};return Object.assign(Object.assign({},n4),{data:r4})})},(0,l.size)({rootBoundary:"document",padding:0,apply({elements:e4,rects:t4,availableHeight:n4,availableWidth:r4,middlewareData:i3}){const o3=i3.shiftPositive||{x:0,y:0},a2=2*p-o3.x,u2=2*p-o3.y,c2={width:t4.reference.width+a2,height:t4.reference.height+u2,maxWidth:r4,maxHeight:n4};Object.assign(e4.floating.style,c2),s2.current=c2}}),(0,l.hide)({strategy:"referenceHidden"})]});(0,u.useLayoutEffect)(()=>{g(e3.current)},[e3.current]),(0,u.useEffect)(()=>E.reference.current&&E.floating.current&&h?(0,l.autoUpdate)(E.reference.current,E.floating.current,_,{animationFrame:t3}):()=>{},[E.reference.current,E.floating.current,_,t3]);const O=!(!((o2=w.hide)===null||o2===void 0)&&o2.referenceHidden);return u.default.createElement("div",{ref:b,className:(0,c.default)(n3,r3,!O&&f.default.hidden),style:Object.assign(Object.assign(Object.assign({},i2),s2.current),{position:y,top:m??0,left:v??0})})}},4813:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.Frame=void 0;var r2=n2(9636);Object.defineProperty(t2,"Frame",{enumerable:!0,get:function(){return r2.Frame}})},5198:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.bubbleToComponent=void 0;const r2=n2(9046),i=n2(5489),o=n2(2014);function a(e3,t3,n3){for(let a2=e3;a2;a2=a2.parentElement){if(a2=(0,r2.toRootElement)(a2),!a2)return;if((0,o.ruleMatcher)(a2,t3)){const e4=(0,r2.domToReacts)(a2).filter(e5=>(0,i.hasComponentMeta)(e5)&&(0,o.componentRuleMatcher)({meta:e5[i.componentMetaField]},n3));return e4.length<1?void 0:{element:a2,components:e4}}}}t2.bubbleToComponent=function(e3,{elementRule:t3,componentRule:n3,propagateSameParents:r3=!0}={}){let o2=a(e3,t3,n3);if(!r3)return o2;for(;o2;){const e4=a(o2.element.parentElement,t3,n3),r4=o2?.components.slice(-1).pop(),s=e4?.components.slice(-1).pop();if(r4?.[i.componentMetaField].id!==s?.[i.componentMetaField].id)return o2;o2=e4}}},2424:function(e2,t2,n2){"use strict";var r2=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},i=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.HoverHighlighter=void 0;const o=i(n2(2015)),a=n2(6992);t2.HoverHighlighter=function(e3){var t3=r2(e3,[]);return o.default.createElement(a.HybridHighlighter,Object.assign({},t3,{mode:"hover"}))}},4212:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.HoverHighlighter=t2.useHoverHighlighter=void 0;var r2=n2(3510);Object.defineProperty(t2,"useHoverHighlighter",{enumerable:!0,get:function(){return r2.useHoverHighlighter}});var i=n2(2424);Object.defineProperty(t2,"HoverHighlighter",{enumerable:!0,get:function(){return i.HoverHighlighter}})},3510:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.useHoverHighlighter=void 0;const r2=n2(2015),i=n2(3724),o=n2(2840),a=n2(9835),s=n2(5198);t2.useHoverHighlighter=function(e3,t3={},{debounceDuration:n3,scopeClass:u,disabled:c,rule:l,componentRule:f}){const{handleElement:p}=function({onChange:e4,scopeClass:t4="",debounceDuration:n4,disabled:o2,rule:u2,componentRule:c2}){const l2=(0,i.useDebouncedCallback)(n5=>{if(!n5||n5.hasAttribute("data-nullify-component-highlight")||n5.closest(`.${t4} ${a.excludeHighlighterSelector}`))return void e4(void 0);if(n5.closest(`.${t4} ${a.skipHighlighterSelector}`))return;const r3=(0,s.bubbleToComponent)(n5,{elementRule:u2,componentRule:c2});r3&&e4({element:r3.element,components:r3.components})},n4);return(0,r2.useEffect)(()=>{o2&&l2.cancel()},[o2,l2]),{handleElement:l2}}({onChange:e3,scopeClass:u,debounceDuration:n3,disabled:c,rule:l,componentRule:f});return(0,o.useHoverSelection)(c?void 0:p,t3)}},4722:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},a=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},s=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.HybridHighlighter=void 0;const u=o(n2(2015)),c=s(n2(7500)),l=n2(637),f=n2(4212),p=n2(6786),d=n2(3789);t2.HybridHighlighter=function(e3){var{disabled:t3,mode:n3="hover",debounceSelection:r3=80,watchMotion:i2=!0,placement:o2,rule:s2,componentRule:h,classes:v,highlightStyle:m,className:y,style:g,bgColor:b,bgColorHover:_,bgColorActive:E,children:w}=e3,O=a(e3,["disabled","mode","debounceSelection","watchMotion","placement","rule","componentRule","classes","highlightStyle","className","style","bgColor","bgColorHover","bgColorActive","children"]);const T=(0,u.createRef)(),[N,I]=(0,u.useState)({}),S=(0,u.useRef)(`hl-scope-${(0,l.v4)()}`).current,x=Object.entries(N).length>0;(0,u.useEffect)(()=>{t3&&I({})},[t3]);const A=(0,f.useHoverHighlighter)(e4=>I(e4?{"hover-target":e4}:{}),O,{debounceDuration:x?r3:0,scopeClass:S,disabled:t3||n3!=="hover",rule:s2,componentRule:h});(0,d.useChildrenHighlighter)({onChange:I,scopeRef:T,scopeClass:S,disabled:t3||n3!=="allChildren",rule:s2,componentRule:h});const j=(0,u.useMemo)(()=>Object.assign({"--bit-highlighter-color":b,"--bit-highlighter-color-hover":_,"--bit-highlighter-color-active":E},g),[b,_,E,g]);return u.default.createElement("div",Object.assign({ref:T},O,A,{style:j,className:(0,c.default)(y,S),"data-nullify-component-highlight":!0}),w,Object.entries(N).map(([e4,t4])=>u.default.createElement(p.ElementHighlighter,{key:e4,targetRef:{current:t4.element},components:t4.components,classes:v,style:m,placement:o2,watchMotion:i2})))}},6992:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.HybridHighlighter=void 0;var r2=n2(4722);Object.defineProperty(t2,"HybridHighlighter",{enumerable:!0,get:function(){return r2.HybridHighlighter}})},9835:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.skipHighlighterSelector=t2.skipHighlighterAttr=t2.skipHighlighterAttrName=t2.ExcludeHighlighter=t2.excludeHighlighterAtt=t2.excludeHighlighterSelector=t2.excludeHighlighterAttrName=void 0;const i=r2(n2(2015));t2.excludeHighlighterAttrName="data-ignore-component-highlight",t2.excludeHighlighterSelector=`[${t2.excludeHighlighterAttrName}]`,t2.excludeHighlighterAtt={[t2.excludeHighlighterAttrName]:!0},t2.ExcludeHighlighter=function(e3){return i.default.createElement("div",Object.assign({},e3,t2.excludeHighlighterAtt))},t2.skipHighlighterAttrName="data-skip-component-highlight",t2.skipHighlighterAttr={[t2.skipHighlighterAttrName]:!0},t2.skipHighlighterSelector=`[${t2.skipHighlighterAttrName}]`},1779:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.skipHighlighterAttrName=t2.skipHighlighterAttr=t2.excludeHighlighterAttrName=t2.excludeHighlighterAtt=t2.ExcludeHighlighter=t2.ElementHighlighter=t2.ChildrenHighlighter=t2.HoverHighlighter=t2.ComponentHighlighter=void 0;var r2=n2(6992);Object.defineProperty(t2,"ComponentHighlighter",{enumerable:!0,get:function(){return r2.HybridHighlighter}});var i=n2(4212);Object.defineProperty(t2,"HoverHighlighter",{enumerable:!0,get:function(){return i.HoverHighlighter}});var o=n2(3789);Object.defineProperty(t2,"ChildrenHighlighter",{enumerable:!0,get:function(){return o.ChildrenHighlighter}});var a=n2(6786);Object.defineProperty(t2,"ElementHighlighter",{enumerable:!0,get:function(){return a.ElementHighlighter}});var s=n2(9835);Object.defineProperty(t2,"ExcludeHighlighter",{enumerable:!0,get:function(){return s.ExcludeHighlighter}}),Object.defineProperty(t2,"excludeHighlighterAtt",{enumerable:!0,get:function(){return s.excludeHighlighterAtt}}),Object.defineProperty(t2,"excludeHighlighterAttrName",{enumerable:!0,get:function(){return s.excludeHighlighterAttrName}}),Object.defineProperty(t2,"skipHighlighterAttr",{enumerable:!0,get:function(){return s.skipHighlighterAttr}}),Object.defineProperty(t2,"skipHighlighterAttrName",{enumerable:!0,get:function(){return s.skipHighlighterAttrName}})},8278:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},a=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.ComponentStrip=void 0;const s=o(n2(2015)),u=n2(2895),c=n2(1001),l=n2(6528),f=n2(5489),p=a(n2(5080)),d=n2(2651);function h({link:e3,children:t3,className:n3}){const r3=e3?u.NativeLink:"span";return s.default.createElement(r3,{href:e3,external:!!e3,className:n3},t3)}t2.ComponentStrip=(0,s.forwardRef)(function({component:e3,children:t3},n3){const{id:r3,homepage:i2,exported:o2}=typeof(v=e3)=="string"?{id:v,exported:!0}:v[f.componentMetaField],a2=(0,s.useMemo)(()=>c.ComponentID.tryFromString(r3),[r3]),u2=i2||(0,d.calcComponentLink)(a2,o2);var v;return s.default.createElement("div",{className:p.default.componentStrip,ref:n3},!a2&&s.default.createElement(h,{link:i2},r3),a2&&s.default.createElement(h,{link:l.ScopeUrl.toUrl(a2.scope)},a2.scope),a2&&s.default.createElement(h,{link:u2,className:p.default.nameBlock},s.default.createElement("span",null,a2.fullName),a2.version&&a2.version!=="latest"&&s.default.createElement("span",{className:p.default.version},"@",a2.version)),t3)})},6018:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.LabelContainer=t2.Label=void 0;var r2=n2(8112);Object.defineProperty(t2,"Label",{enumerable:!0,get:function(){return r2.Label}});var i=n2(7818);Object.defineProperty(t2,"LabelContainer",{enumerable:!0,get:function(){return i.LabelContainer}})},7818:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},a=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},s=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.LabelContainer=void 0;const u=o(n2(2015)),c=s(n2(7500)),l=s(n2(763)),f=n2(8401),p=s(n2(3174)),d=typeof window<"u"&&!!window.ResizeObserver;t2.LabelContainer=function(e3){var t3,{targetRef:n3,offset:r3,placement:i2,flip:o2=!0,watchMotion:s2,className:h,style:v}=e3,m=a(e3,["targetRef","offset","placement","flip","watchMotion","className","style"]);const{x:y,y:g,strategy:b,floating:_,reference:E,refs:w,update:O,middlewareData:T}=(0,f.useFloating)({placement:i2,middleware:(0,l.default)([r3&&(0,f.offset)({mainAxis:r3[0],crossAxis:r3[1]}),o2&&(0,f.flip)(),(0,f.shift)({rootBoundary:"document",mainAxis:!0,crossAxis:!0}),(0,f.hide)({strategy:"referenceHidden"})])});(0,u.useLayoutEffect)(()=>{E(n3.current)},[n3.current,E]),(0,u.useEffect)(()=>w.reference.current&&w.floating.current&&d?(0,f.autoUpdate)(w.reference.current,w.floating.current,O,{animationFrame:!!s2}):()=>{},[w.reference.current,w.floating.current,O,s2]);const N=!(!((t3=T.hide)===null||t3===void 0)&&t3.referenceHidden);return u.default.createElement("div",Object.assign({},m,{ref:_,className:(0,c.default)(h,!N&&p.default.hidden),style:Object.assign(Object.assign({},v),{position:b,top:g??0,left:y??0})}))}},8112:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},a=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},s=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.Label=void 0;const u=o(n2(2015)),c=s(n2(7500)),l=s(n2(3174)),f=n2(8278),p=n2(2061);t2.Label=function(e3){var{components:t3}=e3,n3=a(e3,["components"]);const[r3,i2]=(0,u.useState)(!1),o2=t3.slice(-1).pop();if(!o2)return null;const s2=t3.length>1;return(0,u.useEffect)(()=>{i2(!1)},[t3]),u.default.createElement(p.OtherComponentsPopper,{components:t3,visible:r3,placement:"bottom-start"},u.default.createElement(f.ComponentStrip,Object.assign({},n3,{component:o2}),s2&&u.default.createElement("span",{className:(0,c.default)(l.default.othersTooltip,r3&&l.default.active),onClick:()=>i2(e4=>!e4)})))}},2651:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.calcComponentLink=void 0;const i=r2(n2(2176)),o=n2(6528);t2.calcComponentLink=function(e3,t3){if(e3)return t3?o.ComponentUrl.toUrl(e3):(0,i.default)("/",e3.fullName)}},2061:function(e2,t2,n2){"use strict";var r2=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3},i=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.OtherComponentsPopper=void 0;const o=i(n2(2015)),a=i(n2(1002)),s=n2(8278),u=i(n2(3174));t2.OtherComponentsPopper=function(e3){var{components:t3,children:n3,start:i2,end:c=-1,placement:l="bottom",interactive:f=!0}=e3,p=r2(e3,["components","children","start","end","placement","interactive"]);const d=o.default.createElement(o.default.Fragment,null,t3.slice(i2,c).reverse().map((e4,t4)=>o.default.createElement(s.ComponentStrip,{key:t4,component:e4})));return o.default.createElement(a.default,Object.assign({placement:l,interactive:f},p,{render:e4=>o.default.createElement("div",Object.assign({},e4,{className:u.default.othersContainer}),d)}),n3)}},2014:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.componentRuleMatcher=t2.ruleMatcher=void 0;const r2=n2(1001);t2.ruleMatcher=function(e3,t3){return typeof t3=="string"?e3.matches(t3):typeof t3!="function"||t3(e3)},t2.componentRuleMatcher=function(e3,t3){if(typeof t3=="string"){const n3=r2.ComponentID.tryFromString(e3.meta.id),i=r2.ComponentID.tryFromString(t3);return r2.ComponentID.isEqual(i,n3,{ignoreVersion:!0})}if(Array.isArray(t3)){const n3=r2.ComponentID.tryFromString(e3.meta.id);return t3.map(e4=>r2.ComponentID.tryFromString(e4)).some(e4=>r2.ComponentID.isEqual(n3,e4,{ignoreVersion:!0}))}return typeof t3!="function"||t3(e3)}},8242:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.hasComponentMeta=t2.componentMetaProperties=t2.componentMetaField=void 0,t2.componentMetaField="__bit_component",t2.componentMetaProperties={componentId:"id",homepageUrl:"homepage",isExported:"exported"},t2.hasComponentMeta=function(e3){return e3&&typeof e3.__bit_component=="object"&&typeof e3.__bit_component.id=="string"}},4464:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.MockedComponentWithMeta=void 0;const i=r2(n2(2015)),o=n2(8242);function a(e3){return i.default.createElement("button",Object.assign({type:"button"},e3))}t2.MockedComponentWithMeta=a,a[o.componentMetaField]={id:"teambit.base-ui/input/button"}},5489:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.MockedComponentWithMeta=t2.componentMetaProperties=t2.componentMetaField=t2.hasComponentMeta=void 0;var r2=n2(8242);Object.defineProperty(t2,"hasComponentMeta",{enumerable:!0,get:function(){return r2.hasComponentMeta}}),Object.defineProperty(t2,"componentMetaField",{enumerable:!0,get:function(){return r2.componentMetaField}}),Object.defineProperty(t2,"componentMetaProperties",{enumerable:!0,get:function(){return r2.componentMetaProperties}});var i=n2(4464);Object.defineProperty(t2,"MockedComponentWithMeta",{enumerable:!0,get:function(){return i.MockedComponentWithMeta}})},5318:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3),Object.defineProperty(e3,r3,{enumerable:!0,get:function(){return t3[n3]}})}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},a=this&&this.__rest||function(e3,t3){var n3={};for(var r3 in e3)Object.prototype.hasOwnProperty.call(e3,r3)&&t3.indexOf(r3)<0&&(n3[r3]=e3[r3]);if(e3!=null&&typeof Object.getOwnPropertySymbols=="function"){var i2=0;for(r3=Object.getOwnPropertySymbols(e3);i2<r3.length;i2++)t3.indexOf(r3[i2])<0&&Object.prototype.propertyIsEnumerable.call(e3,r3[i2])&&(n3[r3[i2]]=e3[r3[i2]])}return n3};Object.defineProperty(t2,"__esModule",{value:!0}),t2.useHoverSelection=t2.HoverSelector=void 0;const s=o(n2(2015));function u(e3,t3={}){const{onMouseOver:n3,onMouseLeave:r3}=t3,i2=(0,s.useCallback)(t4=>{n3?.(t4);const{target:r4}=t4;r4&&e3?.(r4)},[n3,e3]),o2=(0,s.useCallback)(t4=>{r3?.(t4),e3?.(null)},[r3,e3]);return e3?{onMouseOver:i2,onMouseLeave:o2}:{}}t2.HoverSelector=function(e3){var{onElementChange:t3,disabled:n3}=e3,r3=a(e3,["onElementChange","disabled"]);const i2=u(t3,r3);return s.default.createElement("div",Object.assign({},r3,n3?{}:i2))},t2.useHoverSelection=u},2840:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.useHoverSelection=t2.HoverSelector=void 0;var r2=n2(5318);Object.defineProperty(t2,"HoverSelector",{enumerable:!0,get:function(){return r2.HoverSelector}}),Object.defineProperty(t2,"useHoverSelection",{enumerable:!0,get:function(){return r2.useHoverSelection}})},5867:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.isBrowser=void 0;var r2=n2(6238);Object.defineProperty(t2,"isBrowser",{enumerable:!0,get:function(){return r2.isBrowser}})},6238:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.isBrowser=void 0;const n2=typeof window<"u";t2.isBrowser=n2},1002:(e2,t2,n2)=>{"use strict";function r2(e3){if(e3==null)return window;if(e3.toString()!=="[object Window]"){var t3=e3.ownerDocument;return t3&&t3.defaultView||window}return e3}function i(e3){return e3 instanceof r2(e3).Element||e3 instanceof Element}function o(e3){return e3 instanceof r2(e3).HTMLElement||e3 instanceof HTMLElement}function a(e3){return typeof ShadowRoot<"u"&&(e3 instanceof r2(e3).ShadowRoot||e3 instanceof ShadowRoot)}n2.r(t2),n2.d(t2,{default:()=>ot,tippy:()=>Be,useSingleton:()=>it});var s=Math.max,u=Math.min,c=Math.round;function l(){var e3=navigator.userAgentData;return e3!=null&&e3.brands&&Array.isArray(e3.brands)?e3.brands.map(function(e4){return e4.brand+"/"+e4.version}).join(" "):navigator.userAgent}function f(){return!/^((?!chrome|android).)*safari/i.test(l())}function p(e3,t3,n3){t3===void 0&&(t3=!1),n3===void 0&&(n3=!1);var a2=e3.getBoundingClientRect(),s2=1,u2=1;t3&&o(e3)&&(s2=e3.offsetWidth>0&&c(a2.width)/e3.offsetWidth||1,u2=e3.offsetHeight>0&&c(a2.height)/e3.offsetHeight||1);var l2=(i(e3)?r2(e3):window).visualViewport,p2=!f()&&n3,d2=(a2.left+(p2&&l2?l2.offsetLeft:0))/s2,h2=(a2.top+(p2&&l2?l2.offsetTop:0))/u2,v2=a2.width/s2,m2=a2.height/u2;return{width:v2,height:m2,top:h2,right:d2+v2,bottom:h2+m2,left:d2,x:d2,y:h2}}function d(e3){var t3=r2(e3);return{scrollLeft:t3.pageXOffset,scrollTop:t3.pageYOffset}}function h(e3){return e3?(e3.nodeName||"").toLowerCase():null}function v(e3){return((i(e3)?e3.ownerDocument:e3.document)||window.document).documentElement}function m(e3){return p(v(e3)).left+d(e3).scrollLeft}function y(e3){return r2(e3).getComputedStyle(e3)}function g(e3){var t3=y(e3),n3=t3.overflow,r3=t3.overflowX,i2=t3.overflowY;return/auto|scroll|overlay|hidden/.test(n3+i2+r3)}function b(e3,t3,n3){n3===void 0&&(n3=!1);var i2,a2,s2=o(t3),u2=o(t3)&&function(e4){var t4=e4.getBoundingClientRect(),n4=c(t4.width)/e4.offsetWidth||1,r3=c(t4.height)/e4.offsetHeight||1;return n4!==1||r3!==1}(t3),l2=v(t3),f2=p(e3,u2,n3),y2={scrollLeft:0,scrollTop:0},b2={x:0,y:0};return(s2||!s2&&!n3)&&((h(t3)!=="body"||g(l2))&&(y2=(i2=t3)!==r2(i2)&&o(i2)?{scrollLeft:(a2=i2).scrollLeft,scrollTop:a2.scrollTop}:d(i2)),o(t3)?((b2=p(t3,!0)).x+=t3.clientLeft,b2.y+=t3.clientTop):l2&&(b2.x=m(l2))),{x:f2.left+y2.scrollLeft-b2.x,y:f2.top+y2.scrollTop-b2.y,width:f2.width,height:f2.height}}function _(e3){var t3=p(e3),n3=e3.offsetWidth,r3=e3.offsetHeight;return Math.abs(t3.width-n3)<=1&&(n3=t3.width),Math.abs(t3.height-r3)<=1&&(r3=t3.height),{x:e3.offsetLeft,y:e3.offsetTop,width:n3,height:r3}}function E(e3){return h(e3)==="html"?e3:e3.assignedSlot||e3.parentNode||(a(e3)?e3.host:null)||v(e3)}function w(e3){return["html","body","#document"].indexOf(h(e3))>=0?e3.ownerDocument.body:o(e3)&&g(e3)?e3:w(E(e3))}function O(e3,t3){var n3;t3===void 0&&(t3=[]);var i2=w(e3),o2=i2===((n3=e3.ownerDocument)==null?void 0:n3.body),a2=r2(i2),s2=o2?[a2].concat(a2.visualViewport||[],g(i2)?i2:[]):i2,u2=t3.concat(s2);return o2?u2:u2.concat(O(E(s2)))}function T(e3){return["table","td","th"].indexOf(h(e3))>=0}function N(e3){return o(e3)&&y(e3).position!=="fixed"?e3.offsetParent:null}function I(e3){for(var t3=r2(e3),n3=N(e3);n3&&T(n3)&&y(n3).position==="static";)n3=N(n3);return n3&&(h(n3)==="html"||h(n3)==="body"&&y(n3).position==="static")?t3:n3||function(e4){var t4=/firefox/i.test(l());if(/Trident/i.test(l())&&o(e4)&&y(e4).position==="fixed")return null;var n4=E(e4);for(a(n4)&&(n4=n4.host);o(n4)&&["html","body"].indexOf(h(n4))<0;){var r3=y(n4);if(r3.transform!=="none"||r3.perspective!=="none"||r3.contain==="paint"||["transform","perspective"].indexOf(r3.willChange)!==-1||t4&&r3.willChange==="filter"||t4&&r3.filter&&r3.filter!=="none")return n4;n4=n4.parentNode}return null}(e3)||t3}var S="top",x="bottom",A="right",j="left",R="auto",P=[S,x,A,j],D="start",k="end",M="viewport",L="popper",C=P.reduce(function(e3,t3){return e3.concat([t3+"-"+D,t3+"-"+k])},[]),F=[].concat(P,[R]).reduce(function(e3,t3){return e3.concat([t3,t3+"-"+D,t3+"-"+k])},[]),V=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function U(e3){var t3=new Map,n3=new Set,r3=[];function i2(e4){n3.add(e4.name),[].concat(e4.requires||[],e4.requiresIfExists||[]).forEach(function(e5){if(!n3.has(e5)){var r4=t3.get(e5);r4&&i2(r4)}}),r3.push(e4)}return e3.forEach(function(e4){t3.set(e4.name,e4)}),e3.forEach(function(e4){n3.has(e4.name)||i2(e4)}),r3}var $={placement:"bottom",modifiers:[],strategy:"absolute"};function B(){for(var e3=arguments.length,t3=new Array(e3),n3=0;n3<e3;n3++)t3[n3]=arguments[n3];return!t3.some(function(e4){return!(e4&&typeof e4.getBoundingClientRect=="function")})}function H(e3){e3===void 0&&(e3={});var t3=e3,n3=t3.defaultModifiers,r3=n3===void 0?[]:n3,o2=t3.defaultOptions,a2=o2===void 0?$:o2;return function(e4,t4,n4){n4===void 0&&(n4=a2);var o3,s2,u2={placement:"bottom",orderedModifiers:[],options:Object.assign({},$,a2),modifiersData:{},elements:{reference:e4,popper:t4},attributes:{},styles:{}},c2=[],l2=!1,f2={state:u2,setOptions:function(n5){var o4=typeof n5=="function"?n5(u2.options):n5;p2(),u2.options=Object.assign({},a2,u2.options,o4),u2.scrollParents={reference:i(e4)?O(e4):e4.contextElement?O(e4.contextElement):[],popper:O(t4)};var s3,l3,d2=function(e5){var t5=U(e5);return V.reduce(function(e6,n6){return e6.concat(t5.filter(function(e7){return e7.phase===n6}))},[])}((s3=[].concat(r3,u2.options.modifiers),l3=s3.reduce(function(e5,t5){var n6=e5[t5.name];return e5[t5.name]=n6?Object.assign({},n6,t5,{options:Object.assign({},n6.options,t5.options),data:Object.assign({},n6.data,t5.data)}):t5,e5},{}),Object.keys(l3).map(function(e5){return l3[e5]})));return u2.orderedModifiers=d2.filter(function(e5){return e5.enabled}),u2.orderedModifiers.forEach(function(e5){var t5=e5.name,n6=e5.options,r4=n6===void 0?{}:n6,i2=e5.effect;if(typeof i2=="function"){var o5=i2({state:u2,name:t5,instance:f2,options:r4});c2.push(o5||function(){})}}),f2.update()},forceUpdate:function(){if(!l2){var e5=u2.elements,t5=e5.reference,n5=e5.popper;if(B(t5,n5)){u2.rects={reference:b(t5,I(n5),u2.options.strategy==="fixed"),popper:_(n5)},u2.reset=!1,u2.placement=u2.options.placement,u2.orderedModifiers.forEach(function(e6){return u2.modifiersData[e6.name]=Object.assign({},e6.data)});for(var r4=0;r4<u2.orderedModifiers.length;r4++)if(u2.reset!==!0){var i2=u2.orderedModifiers[r4],o4=i2.fn,a3=i2.options,s3=a3===void 0?{}:a3,c3=i2.name;typeof o4=="function"&&(u2=o4({state:u2,options:s3,name:c3,instance:f2})||u2)}else u2.reset=!1,r4=-1}}},update:(o3=function(){return new Promise(function(e5){f2.forceUpdate(),e5(u2)})},function(){return s2||(s2=new Promise(function(e5){Promise.resolve().then(function(){s2=void 0,e5(o3())})})),s2}),destroy:function(){p2(),l2=!0}};if(!B(e4,t4))return f2;function p2(){c2.forEach(function(e5){return e5()}),c2=[]}return f2.setOptions(n4).then(function(e5){!l2&&n4.onFirstUpdate&&n4.onFirstUpdate(e5)}),f2}}var G={passive:!0};function q(e3){return e3.split("-")[0]}function W(e3){return e3.split("-")[1]}function z(e3){return["top","bottom"].indexOf(e3)>=0?"x":"y"}function Y(e3){var t3,n3=e3.reference,r3=e3.element,i2=e3.placement,o2=i2?q(i2):null,a2=i2?W(i2):null,s2=n3.x+n3.width/2-r3.width/2,u2=n3.y+n3.height/2-r3.height/2;switch(o2){case S:t3={x:s2,y:n3.y-r3.height};break;case x:t3={x:s2,y:n3.y+n3.height};break;case A:t3={x:n3.x+n3.width,y:u2};break;case j:t3={x:n3.x-r3.width,y:u2};break;default:t3={x:n3.x,y:n3.y}}var c2=o2?z(o2):null;if(c2!=null){var l2=c2==="y"?"height":"width";switch(a2){case D:t3[c2]=t3[c2]-(n3[l2]/2-r3[l2]/2);break;case k:t3[c2]=t3[c2]+(n3[l2]/2-r3[l2]/2)}}return t3}var J={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Q(e3){var t3,n3=e3.popper,i2=e3.popperRect,o2=e3.placement,a2=e3.variation,s2=e3.offsets,u2=e3.position,l2=e3.gpuAcceleration,f2=e3.adaptive,p2=e3.roundOffsets,d2=e3.isFixed,h2=s2.x,m2=h2===void 0?0:h2,g2=s2.y,b2=g2===void 0?0:g2,_2=typeof p2=="function"?p2({x:m2,y:b2}):{x:m2,y:b2};m2=_2.x,b2=_2.y;var E2=s2.hasOwnProperty("x"),w2=s2.hasOwnProperty("y"),O2=j,T2=S,N2=window;if(f2){var R2=I(n3),P2="clientHeight",D2="clientWidth";R2===r2(n3)&&y(R2=v(n3)).position!=="static"&&u2==="absolute"&&(P2="scrollHeight",D2="scrollWidth"),(o2===S||(o2===j||o2===A)&&a2===k)&&(T2=x,b2-=(d2&&R2===N2&&N2.visualViewport?N2.visualViewport.height:R2[P2])-i2.height,b2*=l2?1:-1),o2!==j&&(o2!==S&&o2!==x||a2!==k)||(O2=A,m2-=(d2&&R2===N2&&N2.visualViewport?N2.visualViewport.width:R2[D2])-i2.width,m2*=l2?1:-1)}var M2,L2=Object.assign({position:u2},f2&&J),C2=p2===!0?function(e4,t4){var n4=e4.x,r3=e4.y,i3=t4.devicePixelRatio||1;return{x:c(n4*i3)/i3||0,y:c(r3*i3)/i3||0}}({x:m2,y:b2},r2(n3)):{x:m2,y:b2};return m2=C2.x,b2=C2.y,l2?Object.assign({},L2,((M2={})[T2]=w2?"0":"",M2[O2]=E2?"0":"",M2.transform=(N2.devicePixelRatio||1)<=1?"translate("+m2+"px, "+b2+"px)":"translate3d("+m2+"px, "+b2+"px, 0)",M2)):Object.assign({},L2,((t3={})[T2]=w2?b2+"px":"",t3[O2]=E2?m2+"px":"",t3.transform="",t3))}var K={left:"right",right:"left",bottom:"top",top:"bottom"};function X(e3){return e3.replace(/left|right|bottom|top/g,function(e4){return K[e4]})}var Z={start:"end",end:"start"};function ee(e3){return e3.replace(/start|end/g,function(e4){return Z[e4]})}function te(e3,t3){var n3=t3.getRootNode&&t3.getRootNode();if(e3.contains(t3))return!0;if(n3&&a(n3)){var r3=t3;do{if(r3&&e3.isSameNode(r3))return!0;r3=r3.parentNode||r3.host}while(r3)}return!1}function ne(e3){return Object.assign({},e3,{left:e3.x,top:e3.y,right:e3.x+e3.width,bottom:e3.y+e3.height})}function re(e3,t3,n3){return t3===M?ne(function(e4,t4){var n4=r2(e4),i2=v(e4),o2=n4.visualViewport,a2=i2.clientWidth,s2=i2.clientHeight,u2=0,c2=0;if(o2){a2=o2.width,s2=o2.height;var l2=f();(l2||!l2&&t4==="fixed")&&(u2=o2.offsetLeft,c2=o2.offsetTop)}return{width:a2,height:s2,x:u2+m(e4),y:c2}}(e3,n3)):i(t3)?function(e4,t4){var n4=p(e4,!1,t4==="fixed");return n4.top=n4.top+e4.clientTop,n4.left=n4.left+e4.clientLeft,n4.bottom=n4.top+e4.clientHeight,n4.right=n4.left+e4.clientWidth,n4.width=e4.clientWidth,n4.height=e4.clientHeight,n4.x=n4.left,n4.y=n4.top,n4}(t3,n3):ne(function(e4){var t4,n4=v(e4),r3=d(e4),i2=(t4=e4.ownerDocument)==null?void 0:t4.body,o2=s(n4.scrollWidth,n4.clientWidth,i2?i2.scrollWidth:0,i2?i2.clientWidth:0),a2=s(n4.scrollHeight,n4.clientHeight,i2?i2.scrollHeight:0,i2?i2.clientHeight:0),u2=-r3.scrollLeft+m(e4),c2=-r3.scrollTop;return y(i2||n4).direction==="rtl"&&(u2+=s(n4.clientWidth,i2?i2.clientWidth:0)-o2),{width:o2,height:a2,x:u2,y:c2}}(v(e3)))}function ie(e3){return Object.assign({},{top:0,right:0,bottom:0,left:0},e3)}function oe(e3,t3){return t3.reduce(function(t4,n3){return t4[n3]=e3,t4},{})}function ae(e3,t3){t3===void 0&&(t3={});var n3=t3,r3=n3.placement,a2=r3===void 0?e3.placement:r3,c2=n3.strategy,l2=c2===void 0?e3.strategy:c2,f2=n3.boundary,d2=f2===void 0?"clippingParents":f2,m2=n3.rootBoundary,g2=m2===void 0?M:m2,b2=n3.elementContext,_2=b2===void 0?L:b2,w2=n3.altBoundary,T2=w2!==void 0&&w2,N2=n3.padding,j2=N2===void 0?0:N2,R2=ie(typeof j2!="number"?j2:oe(j2,P)),D2=_2===L?"reference":L,k2=e3.rects.popper,C2=e3.elements[T2?D2:_2],F2=function(e4,t4,n4,r4){var a3=t4==="clippingParents"?function(e5){var t5=O(E(e5)),n5=["absolute","fixed"].indexOf(y(e5).position)>=0&&o(e5)?I(e5):e5;return i(n5)?t5.filter(function(e6){return i(e6)&&te(e6,n5)&&h(e6)!=="body"}):[]}(e4):[].concat(t4),c3=[].concat(a3,[n4]),l3=c3[0],f3=c3.reduce(function(t5,n5){var i2=re(e4,n5,r4);return t5.top=s(i2.top,t5.top),t5.right=u(i2.right,t5.right),t5.bottom=u(i2.bottom,t5.bottom),t5.left=s(i2.left,t5.left),t5},re(e4,l3,r4));return f3.width=f3.right-f3.left,f3.height=f3.bottom-f3.top,f3.x=f3.left,f3.y=f3.top,f3}(i(C2)?C2:C2.contextElement||v(e3.elements.popper),d2,g2,l2),V2=p(e3.elements.reference),U2=Y({reference:V2,element:k2,strategy:"absolute",placement:a2}),$2=ne(Object.assign({},k2,U2)),B2=_2===L?$2:V2,H2={top:F2.top-B2.top+R2.top,bottom:B2.bottom-F2.bottom+R2.bottom,left:F2.left-B2.left+R2.left,right:B2.right-F2.right+R2.right},G2=e3.modifiersData.offset;if(_2===L&&G2){var q2=G2[a2];Object.keys(H2).forEach(function(e4){var t4=[A,x].indexOf(e4)>=0?1:-1,n4=[S,x].indexOf(e4)>=0?"y":"x";H2[e4]+=q2[n4]*t4})}return H2}function se(e3,t3,n3){return s(e3,u(t3,n3))}function ue(e3,t3,n3){return n3===void 0&&(n3={x:0,y:0}),{top:e3.top-t3.height-n3.y,right:e3.right-t3.width+n3.x,bottom:e3.bottom-t3.height+n3.y,left:e3.left-t3.width-n3.x}}function ce(e3){return[S,A,x,j].some(function(t3){return e3[t3]>=0})}var le=H({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e3){var t3=e3.state,n3=e3.instance,i2=e3.options,o2=i2.scroll,a2=o2===void 0||o2,s2=i2.resize,u2=s2===void 0||s2,c2=r2(t3.elements.popper),l2=[].concat(t3.scrollParents.reference,t3.scrollParents.popper);return a2&&l2.forEach(function(e4){e4.addEventListener("scroll",n3.update,G)}),u2&&c2.addEventListener("resize",n3.update,G),function(){a2&&l2.forEach(function(e4){e4.removeEventListener("scroll",n3.update,G)}),u2&&c2.removeEventListener("resize",n3.update,G)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e3){var t3=e3.state,n3=e3.name;t3.modifiersData[n3]=Y({reference:t3.rects.reference,element:t3.rects.popper,strategy:"absolute",placement:t3.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e3){var t3=e3.state,n3=e3.options,r3=n3.gpuAcceleration,i2=r3===void 0||r3,o2=n3.adaptive,a2=o2===void 0||o2,s2=n3.roundOffsets,u2=s2===void 0||s2,c2={placement:q(t3.placement),variation:W(t3.placement),popper:t3.elements.popper,popperRect:t3.rects.popper,gpuAcceleration:i2,isFixed:t3.options.strategy==="fixed"};t3.modifiersData.popperOffsets!=null&&(t3.styles.popper=Object.assign({},t3.styles.popper,Q(Object.assign({},c2,{offsets:t3.modifiersData.popperOffsets,position:t3.options.strategy,adaptive:a2,roundOffsets:u2})))),t3.modifiersData.arrow!=null&&(t3.styles.arrow=Object.assign({},t3.styles.arrow,Q(Object.assign({},c2,{offsets:t3.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u2})))),t3.attributes.popper=Object.assign({},t3.attributes.popper,{"data-popper-placement":t3.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e3){var t3=e3.state;Object.keys(t3.elements).forEach(function(e4){var n3=t3.styles[e4]||{},r3=t3.attributes[e4]||{},i2=t3.elements[e4];o(i2)&&h(i2)&&(Object.assign(i2.style,n3),Object.keys(r3).forEach(function(e5){var t4=r3[e5];t4===!1?i2.removeAttribute(e5):i2.setAttribute(e5,t4===!0?"":t4)}))})},effect:function(e3){var t3=e3.state,n3={popper:{position:t3.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t3.elements.popper.style,n3.popper),t3.styles=n3,t3.elements.arrow&&Object.assign(t3.elements.arrow.style,n3.arrow),function(){Object.keys(t3.elements).forEach(function(e4){var r3=t3.elements[e4],i2=t3.attributes[e4]||{},a2=Object.keys(t3.styles.hasOwnProperty(e4)?t3.styles[e4]:n3[e4]).reduce(function(e5,t4){return e5[t4]="",e5},{});o(r3)&&h(r3)&&(Object.assign(r3.style,a2),Object.keys(i2).forEach(function(e5){r3.removeAttribute(e5)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e3){var t3=e3.state,n3=e3.options,r3=e3.name,i2=n3.offset,o2=i2===void 0?[0,0]:i2,a2=F.reduce(function(e4,n4){return e4[n4]=function(e5,t4,n5){var r4=q(e5),i3=[j,S].indexOf(r4)>=0?-1:1,o3=typeof n5=="function"?n5(Object.assign({},t4,{placement:e5})):n5,a3=o3[0],s3=o3[1];return a3=a3||0,s3=(s3||0)*i3,[j,A].indexOf(r4)>=0?{x:s3,y:a3}:{x:a3,y:s3}}(n4,t3.rects,o2),e4},{}),s2=a2[t3.placement],u2=s2.x,c2=s2.y;t3.modifiersData.popperOffsets!=null&&(t3.modifiersData.popperOffsets.x+=u2,t3.modifiersData.popperOffsets.y+=c2),t3.modifiersData[r3]=a2}},{name:"flip",enabled:!0,phase:"main",fn:function(e3){var t3=e3.state,n3=e3.options,r3=e3.name;if(!t3.modifiersData[r3]._skip){for(var i2=n3.mainAxis,o2=i2===void 0||i2,a2=n3.altAxis,s2=a2===void 0||a2,u2=n3.fallbackPlacements,c2=n3.padding,l2=n3.boundary,f2=n3.rootBoundary,p2=n3.altBoundary,d2=n3.flipVariations,h2=d2===void 0||d2,v2=n3.allowedAutoPlacements,m2=t3.options.placement,y2=q(m2),g2=u2||(y2!==m2&&h2?function(e4){if(q(e4)===R)return[];var t4=X(e4);return[ee(e4),t4,ee(t4)]}(m2):[X(m2)]),b2=[m2].concat(g2).reduce(function(e4,n4){return e4.concat(q(n4)===R?function(e5,t4){t4===void 0&&(t4={});var n5=t4,r4=n5.placement,i3=n5.boundary,o3=n5.rootBoundary,a3=n5.padding,s3=n5.flipVariations,u3=n5.allowedAutoPlacements,c3=u3===void 0?F:u3,l3=W(r4),f3=l3?s3?C:C.filter(function(e6){return W(e6)===l3}):P,p3=f3.filter(function(e6){return c3.indexOf(e6)>=0});p3.length===0&&(p3=f3);var d3=p3.reduce(function(t5,n6){return t5[n6]=ae(e5,{placement:n6,boundary:i3,rootBoundary:o3,padding:a3})[q(n6)],t5},{});return Object.keys(d3).sort(function(e6,t5){return d3[e6]-d3[t5]})}(t3,{placement:n4,boundary:l2,rootBoundary:f2,padding:c2,flipVariations:h2,allowedAutoPlacements:v2}):n4)},[]),_2=t3.rects.reference,E2=t3.rects.popper,w2=new Map,O2=!0,T2=b2[0],N2=0;N2<b2.length;N2++){var I2=b2[N2],k2=q(I2),M2=W(I2)===D,L2=[S,x].indexOf(k2)>=0,V2=L2?"width":"height",U2=ae(t3,{placement:I2,boundary:l2,rootBoundary:f2,altBoundary:p2,padding:c2}),$2=L2?M2?A:j:M2?x:S;_2[V2]>E2[V2]&&($2=X($2));var B2=X($2),H2=[];if(o2&&H2.push(U2[k2]<=0),s2&&H2.push(U2[$2]<=0,U2[B2]<=0),H2.every(function(e4){return e4})){T2=I2,O2=!1;break}w2.set(I2,H2)}if(O2)for(var G2=function(e4){var t4=b2.find(function(t5){var n4=w2.get(t5);if(n4)return n4.slice(0,e4).every(function(e5){return e5})});if(t4)return T2=t4,"break"},z2=h2?3:1;z2>0&&G2(z2)!=="break";z2--);t3.placement!==T2&&(t3.modifiersData[r3]._skip=!0,t3.placement=T2,t3.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e3){var t3=e3.state,n3=e3.options,r3=e3.name,i2=n3.mainAxis,o2=i2===void 0||i2,a2=n3.altAxis,c2=a2!==void 0&&a2,l2=n3.boundary,f2=n3.rootBoundary,p2=n3.altBoundary,d2=n3.padding,h2=n3.tether,v2=h2===void 0||h2,m2=n3.tetherOffset,y2=m2===void 0?0:m2,g2=ae(t3,{boundary:l2,rootBoundary:f2,padding:d2,altBoundary:p2}),b2=q(t3.placement),E2=W(t3.placement),w2=!E2,O2=z(b2),T2=O2==="x"?"y":"x",N2=t3.modifiersData.popperOffsets,R2=t3.rects.reference,P2=t3.rects.popper,k2=typeof y2=="function"?y2(Object.assign({},t3.rects,{placement:t3.placement})):y2,M2=typeof k2=="number"?{mainAxis:k2,altAxis:k2}:Object.assign({mainAxis:0,altAxis:0},k2),L2=t3.modifiersData.offset?t3.modifiersData.offset[t3.placement]:null,C2={x:0,y:0};if(N2){if(o2){var F2,V2=O2==="y"?S:j,U2=O2==="y"?x:A,$2=O2==="y"?"height":"width",B2=N2[O2],H2=B2+g2[V2],G2=B2-g2[U2],Y2=v2?-P2[$2]/2:0,J2=E2===D?R2[$2]:P2[$2],Q2=E2===D?-P2[$2]:-R2[$2],K2=t3.elements.arrow,X2=v2&&K2?_(K2):{width:0,height:0},Z2=t3.modifiersData["arrow#persistent"]?t3.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee2=Z2[V2],te2=Z2[U2],ne2=se(0,R2[$2],X2[$2]),re2=w2?R2[$2]/2-Y2-ne2-ee2-M2.mainAxis:J2-ne2-ee2-M2.mainAxis,ie2=w2?-R2[$2]/2+Y2+ne2+te2+M2.mainAxis:Q2+ne2+te2+M2.mainAxis,oe2=t3.elements.arrow&&I(t3.elements.arrow),ue2=oe2?O2==="y"?oe2.clientTop||0:oe2.clientLeft||0:0,ce2=(F2=L2?.[O2])!=null?F2:0,le2=B2+ie2-ce2,fe2=se(v2?u(H2,B2+re2-ce2-ue2):H2,B2,v2?s(G2,le2):G2);N2[O2]=fe2,C2[O2]=fe2-B2}if(c2){var pe2,de2=O2==="x"?S:j,he2=O2==="x"?x:A,ve2=N2[T2],me2=T2==="y"?"height":"width",ye2=ve2+g2[de2],ge2=ve2-g2[he2],be2=[S,j].indexOf(b2)!==-1,_e2=(pe2=L2?.[T2])!=null?pe2:0,Ee2=be2?ye2:ve2-R2[me2]-P2[me2]-_e2+M2.altAxis,we2=be2?ve2+R2[me2]+P2[me2]-_e2-M2.altAxis:ge2,Oe2=v2&&be2?function(e4,t4,n4){var r4=se(e4,t4,n4);return r4>n4?n4:r4}(Ee2,ve2,we2):se(v2?Ee2:ye2,ve2,v2?we2:ge2);N2[T2]=Oe2,C2[T2]=Oe2-ve2}t3.modifiersData[r3]=C2}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e3){var t3,n3=e3.state,r3=e3.name,i2=e3.options,o2=n3.elements.arrow,a2=n3.modifiersData.popperOffsets,s2=q(n3.placement),u2=z(s2),c2=[j,A].indexOf(s2)>=0?"height":"width";if(o2&&a2){var l2=function(e4,t4){return ie(typeof(e4=typeof e4=="function"?e4(Object.assign({},t4.rects,{placement:t4.placement})):e4)!="number"?e4:oe(e4,P))}(i2.padding,n3),f2=_(o2),p2=u2==="y"?S:j,d2=u2==="y"?x:A,h2=n3.rects.reference[c2]+n3.rects.reference[u2]-a2[u2]-n3.rects.popper[c2],v2=a2[u2]-n3.rects.reference[u2],m2=I(o2),y2=m2?u2==="y"?m2.clientHeight||0:m2.clientWidth||0:0,g2=h2/2-v2/2,b2=l2[p2],E2=y2-f2[c2]-l2[d2],w2=y2/2-f2[c2]/2+g2,O2=se(b2,w2,E2),T2=u2;n3.modifiersData[r3]=((t3={})[T2]=O2,t3.centerOffset=O2-w2,t3)}},effect:function(e3){var t3=e3.state,n3=e3.options.element,r3=n3===void 0?"[data-popper-arrow]":n3;r3!=null&&(typeof r3!="string"||(r3=t3.elements.popper.querySelector(r3)))&&te(t3.elements.popper,r3)&&(t3.elements.arrow=r3)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e3){var t3=e3.state,n3=e3.name,r3=t3.rects.reference,i2=t3.rects.popper,o2=t3.modifiersData.preventOverflow,a2=ae(t3,{elementContext:"reference"}),s2=ae(t3,{altBoundary:!0}),u2=ue(a2,r3),c2=ue(s2,i2,o2),l2=ce(u2),f2=ce(c2);t3.modifiersData[n3]={referenceClippingOffsets:u2,popperEscapeOffsets:c2,isReferenceHidden:l2,hasPopperEscaped:f2},t3.attributes.popper=Object.assign({},t3.attributes.popper,{"data-popper-reference-hidden":l2,"data-popper-escaped":f2})}}]}),fe={passive:!0,capture:!0};function pe(e3,t3,n3){if(Array.isArray(e3)){var r3=e3[t3];return r3??(Array.isArray(n3)?n3[t3]:n3)}return e3}function de(e3,t3){var n3={}.toString.call(e3);return n3.indexOf("[object")===0&&n3.indexOf(t3+"]")>-1}function he(e3,t3){return typeof e3=="function"?e3.apply(void 0,t3):e3}function ve(e3,t3){return t3===0?e3:function(r3){clearTimeout(n3),n3=setTimeout(function(){e3(r3)},t3)};var n3}function me(e3){return[].concat(e3)}function ye(e3,t3){e3.indexOf(t3)===-1&&e3.push(t3)}function ge(e3){return[].slice.call(e3)}function be(){return document.createElement("div")}function _e(e3){return["Element","Fragment"].some(function(t3){return de(e3,t3)})}function Ee(e3,t3){e3.forEach(function(e4){e4&&(e4.style.transitionDuration=t3+"ms")})}function we(e3,t3){e3.forEach(function(e4){e4&&e4.setAttribute("data-state",t3)})}function Oe(e3,t3,n3){var r3=t3+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t4){e3[r3](t4,n3)})}var Te={isTouch:!1},Ne=0;function Ie(){Te.isTouch||(Te.isTouch=!0,window.performance&&document.addEventListener("mousemove",Se))}function Se(){var e3=performance.now();e3-Ne<20&&(Te.isTouch=!1,document.removeEventListener("mousemove",Se)),Ne=e3}function xe(){var e3=document.activeElement;if(function(e4){return!(!e4||!e4._tippy||e4._tippy.reference!==e4)}(e3)){var t3=e3._tippy;e3.blur&&!t3.state.isVisible&&e3.blur()}}var Ae=typeof window<"u"&&typeof document<"u"?navigator.userAgent:"",je=/MSIE |Trident\//.test(Ae),Re=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Pe=Object.keys(Re);function De(e3){var t3=(e3.plugins||[]).reduce(function(t4,n3){var r3=n3.name,i2=n3.defaultValue;return r3&&(t4[r3]=e3[r3]!==void 0?e3[r3]:i2),t4},{});return Object.assign({},e3,{},t3)}function ke(e3,t3){var n3=Object.assign({},t3,{content:he(t3.content,[e3])},t3.ignoreAttributes?{}:function(e4,t4){return(t4?Object.keys(De(Object.assign({},Re,{plugins:t4}))):Pe).reduce(function(t5,n4){var r3=(e4.getAttribute("data-tippy-"+n4)||"").trim();if(!r3)return t5;if(n4==="content")t5[n4]=r3;else try{t5[n4]=JSON.parse(r3)}catch{t5[n4]=r3}return t5},{})}(e3,t3.plugins));return n3.aria=Object.assign({},Re.aria,{},n3.aria),n3.aria={expanded:n3.aria.expanded==="auto"?t3.interactive:n3.aria.expanded,content:n3.aria.content==="auto"?t3.interactive?null:"describedby":n3.aria.content},n3}function Me(e3){var t3=e3.firstElementChild,n3=ge(t3.children);return{box:t3,content:n3.find(function(e4){return e4.classList.contains("tippy-content")}),arrow:n3.find(function(e4){return e4.classList.contains("tippy-arrow")||e4.classList.contains("tippy-svg-arrow")}),backdrop:n3.find(function(e4){return e4.classList.contains("tippy-backdrop")})}}var Le=1,Ce=[],Fe=[];function Ve(e3,t3){var n3,r3,i2,o2,a2,s2,u2,c2,l2,f2=ke(e3,Object.assign({},Re,{},De((n3=t3,Object.keys(n3).reduce(function(e4,t4){return n3[t4]!==void 0&&(e4[t4]=n3[t4]),e4},{}))))),p2=!1,d2=!1,h2=!1,v2=!1,m2=[],y2=ve(Y2,f2.interactiveDebounce),g2=Le++,b2=(l2=f2.plugins).filter(function(e4,t4){return l2.indexOf(e4)===t4}),_2={id:g2,reference:e3,popper:be(),popperInstance:null,props:f2,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:b2,clearDelayTimeouts:function(){clearTimeout(r3),clearTimeout(i2),cancelAnimationFrame(o2)},setProps:function(t4){if(!_2.state.isDestroyed){k2("onBeforeUpdate",[_2,t4]),W2();var n4=_2.props,r4=ke(e3,Object.assign({},_2.props,{},t4,{ignoreAttributes:!0}));_2.props=r4,q2(),n4.interactiveDebounce!==r4.interactiveDebounce&&(C2(),y2=ve(Y2,r4.interactiveDebounce)),n4.triggerTarget&&!r4.triggerTarget?me(n4.triggerTarget).forEach(function(e4){e4.removeAttribute("aria-expanded")}):r4.triggerTarget&&e3.removeAttribute("aria-expanded"),L2(),D2(),O2&&O2(n4,r4),_2.popperInstance&&(X2(),ee2().forEach(function(e4){requestAnimationFrame(e4._tippy.popperInstance.forceUpdate)})),k2("onAfterUpdate",[_2,t4])}},setContent:function(e4){_2.setProps({content:e4})},show:function(){var e4=_2.state.isVisible,t4=_2.state.isDestroyed,n4=!_2.state.isEnabled,r4=Te.isTouch&&!_2.props.touch,i3=pe(_2.props.duration,0,Re.duration);if(!(e4||t4||n4||r4||A2().hasAttribute("disabled")||(k2("onShow",[_2],!1),_2.props.onShow(_2)===!1))){if(_2.state.isVisible=!0,x2()&&(w2.style.visibility="visible"),D2(),$2(),_2.state.isMounted||(w2.style.transition="none"),x2()){var o3=R2();Ee([o3.box,o3.content],0)}var a3,s3,c3;u2=function(){if(_2.state.isVisible&&!v2){if(v2=!0,w2.offsetHeight,w2.style.transition=_2.props.moveTransition,x2()&&_2.props.animation){var e5=R2(),t5=e5.box,n5=e5.content;Ee([t5,n5],i3),we([t5,n5],"visible")}M2(),L2(),ye(Fe,_2),_2.state.isMounted=!0,k2("onMount",[_2]),_2.props.animation&&x2()&&function(e6){H2(e6,function(){_2.state.isShown=!0,k2("onShown",[_2])})}(i3)}},s3=_2.props.appendTo,c3=A2(),(a3=_2.props.interactive&&s3===Re.appendTo||s3==="parent"?c3.parentNode:he(s3,[c3])).contains(w2)||a3.appendChild(w2),X2()}},hide:function(){var e4=!_2.state.isVisible,t4=_2.state.isDestroyed,n4=!_2.state.isEnabled,r4=pe(_2.props.duration,1,Re.duration);if(!(e4||t4||n4)&&(k2("onHide",[_2],!1),_2.props.onHide(_2)!==!1)){if(_2.state.isVisible=!1,_2.state.isShown=!1,v2=!1,p2=!1,x2()&&(w2.style.visibility="hidden"),C2(),B2(),D2(),x2()){var i3=R2(),o3=i3.box,a3=i3.content;_2.props.animation&&(Ee([o3,a3],r4),we([o3,a3],"hidden"))}M2(),L2(),_2.props.animation?x2()&&function(e5,t5){H2(e5,function(){!_2.state.isVisible&&w2.parentNode&&w2.parentNode.contains(w2)&&t5()})}(r4,_2.unmount):_2.unmount()}},hideWithInteractivity:function(e4){j2().addEventListener("mousemove",y2),ye(Ce,y2),y2(e4)},enable:function(){_2.state.isEnabled=!0},disable:function(){_2.hide(),_2.state.isEnabled=!1},unmount:function(){_2.state.isVisible&&_2.hide(),_2.state.isMounted&&(Z2(),ee2().forEach(function(e4){e4._tippy.unmount()}),w2.parentNode&&w2.parentNode.removeChild(w2),Fe=Fe.filter(function(e4){return e4!==_2}),_2.state.isMounted=!1,k2("onHidden",[_2]))},destroy:function(){_2.state.isDestroyed||(_2.clearDelayTimeouts(),_2.unmount(),W2(),delete e3._tippy,_2.state.isDestroyed=!0,k2("onDestroy",[_2]))}};if(!f2.render)return _2;var E2=f2.render(_2),w2=E2.popper,O2=E2.onUpdate;w2.setAttribute("data-tippy-root",""),w2.id="tippy-"+_2.id,_2.popper=w2,e3._tippy=_2,w2._tippy=_2;var T2=b2.map(function(e4){return e4.fn(_2)}),N2=e3.hasAttribute("aria-expanded");return q2(),L2(),D2(),k2("onCreate",[_2]),f2.showOnCreate&&te2(),w2.addEventListener("mouseenter",function(){_2.props.interactive&&_2.state.isVisible&&_2.clearDelayTimeouts()}),w2.addEventListener("mouseleave",function(e4){_2.props.interactive&&_2.props.trigger.indexOf("mouseenter")>=0&&(j2().addEventListener("mousemove",y2),y2(e4))}),_2;function I2(){var e4=_2.props.touch;return Array.isArray(e4)?e4:[e4,0]}function S2(){return I2()[0]==="hold"}function x2(){var e4;return!!((e4=_2.props.render)!=null&&e4.$$tippy)}function A2(){return c2||e3}function j2(){var e4,t4=A2().parentNode;return t4&&(e4=me(t4)[0])&&e4.ownerDocument||document}function R2(){return Me(w2)}function P2(e4){return _2.state.isMounted&&!_2.state.isVisible||Te.isTouch||a2&&a2.type==="focus"?0:pe(_2.props.delay,e4?0:1,Re.delay)}function D2(){w2.style.pointerEvents=_2.props.interactive&&_2.state.isVisible?"":"none",w2.style.zIndex=""+_2.props.zIndex}function k2(e4,t4,n4){var r4;n4===void 0&&(n4=!0),T2.forEach(function(n5){n5[e4]&&n5[e4].apply(void 0,t4)}),n4&&(r4=_2.props)[e4].apply(r4,t4)}function M2(){var t4=_2.props.aria;if(t4.content){var n4="aria-"+t4.content,r4=w2.id;me(_2.props.triggerTarget||e3).forEach(function(e4){var t5=e4.getAttribute(n4);if(_2.state.isVisible)e4.setAttribute(n4,t5?t5+" "+r4:r4);else{var i3=t5&&t5.replace(r4,"").trim();i3?e4.setAttribute(n4,i3):e4.removeAttribute(n4)}})}}function L2(){!N2&&_2.props.aria.expanded&&me(_2.props.triggerTarget||e3).forEach(function(e4){_2.props.interactive?e4.setAttribute("aria-expanded",_2.state.isVisible&&e4===A2()?"true":"false"):e4.removeAttribute("aria-expanded")})}function C2(){j2().removeEventListener("mousemove",y2),Ce=Ce.filter(function(e4){return e4!==y2})}function F2(e4){if(!(Te.isTouch&&(h2||e4.type==="mousedown")||_2.props.interactive&&w2.contains(e4.target))){if(A2().contains(e4.target)){if(Te.isTouch||_2.state.isVisible&&_2.props.trigger.indexOf("click")>=0)return}else k2("onClickOutside",[_2,e4]);_2.props.hideOnClick===!0&&(_2.clearDelayTimeouts(),_2.hide(),d2=!0,setTimeout(function(){d2=!1}),_2.state.isMounted||B2())}}function V2(){h2=!0}function U2(){h2=!1}function $2(){var e4=j2();e4.addEventListener("mousedown",F2,!0),e4.addEventListener("touchend",F2,fe),e4.addEventListener("touchstart",U2,fe),e4.addEventListener("touchmove",V2,fe)}function B2(){var e4=j2();e4.removeEventListener("mousedown",F2,!0),e4.removeEventListener("touchend",F2,fe),e4.removeEventListener("touchstart",U2,fe),e4.removeEventListener("touchmove",V2,fe)}function H2(e4,t4){var n4=R2().box;function r4(e5){e5.target===n4&&(Oe(n4,"remove",r4),t4())}if(e4===0)return t4();Oe(n4,"remove",s2),Oe(n4,"add",r4),s2=r4}function G2(t4,n4,r4){r4===void 0&&(r4=!1),me(_2.props.triggerTarget||e3).forEach(function(e4){e4.addEventListener(t4,n4,r4),m2.push({node:e4,eventType:t4,handler:n4,options:r4})})}function q2(){S2()&&(G2("touchstart",z2,{passive:!0}),G2("touchend",J2,{passive:!0})),function(e4){return e4.split(/\s+/).filter(Boolean)}(_2.props.trigger).forEach(function(e4){if(e4!=="manual")switch(G2(e4,z2),e4){case"mouseenter":G2("mouseleave",J2);break;case"focus":G2(je?"focusout":"blur",Q2);break;case"focusin":G2("focusout",Q2)}})}function W2(){m2.forEach(function(e4){var t4=e4.node,n4=e4.eventType,r4=e4.handler,i3=e4.options;t4.removeEventListener(n4,r4,i3)}),m2=[]}function z2(e4){var t4,n4=!1;if(_2.state.isEnabled&&!K2(e4)&&!d2){var r4=((t4=a2)==null?void 0:t4.type)==="focus";a2=e4,c2=e4.currentTarget,L2(),!_2.state.isVisible&&function(e5){return de(e5,"MouseEvent")}(e4)&&Ce.forEach(function(t5){return t5(e4)}),e4.type==="click"&&(_2.props.trigger.indexOf("mouseenter")<0||p2)&&_2.props.hideOnClick!==!1&&_2.state.isVisible?n4=!0:te2(e4),e4.type==="click"&&(p2=!n4),n4&&!r4&&ne2(e4)}}function Y2(e4){var t4=e4.target,n4=A2().contains(t4)||w2.contains(t4);if(e4.type!=="mousemove"||!n4){var r4=ee2().concat(w2).map(function(e5){var t5,n5=(t5=e5._tippy.popperInstance)==null?void 0:t5.state;return n5?{popperRect:e5.getBoundingClientRect(),popperState:n5,props:f2}:null}).filter(Boolean);(function(e5,t5){var n5=t5.clientX,r5=t5.clientY;return e5.every(function(e6){var t6=e6.popperRect,i3=e6.popperState,o3=e6.props.interactiveBorder,a3=i3.placement.split("-")[0],s3=i3.modifiersData.offset;if(!s3)return!0;var u3=a3==="bottom"?s3.top.y:0,c3=a3==="top"?s3.bottom.y:0,l3=a3==="right"?s3.left.x:0,f3=a3==="left"?s3.right.x:0,p3=t6.top-r5+u3>o3,d3=r5-t6.bottom-c3>o3,h3=t6.left-n5+l3>o3,v3=n5-t6.right-f3>o3;return p3||d3||h3||v3})})(r4,e4)&&(C2(),ne2(e4))}}function J2(e4){K2(e4)||_2.props.trigger.indexOf("click")>=0&&p2||(_2.props.interactive?_2.hideWithInteractivity(e4):ne2(e4))}function Q2(e4){_2.props.trigger.indexOf("focusin")<0&&e4.target!==A2()||_2.props.interactive&&e4.relatedTarget&&w2.contains(e4.relatedTarget)||ne2(e4)}function K2(e4){return!!Te.isTouch&&S2()!==e4.type.indexOf("touch")>=0}function X2(){Z2();var t4=_2.props,n4=t4.popperOptions,r4=t4.placement,i3=t4.offset,o3=t4.getReferenceClientRect,a3=t4.moveTransition,s3=x2()?Me(w2).arrow:null,c3=o3?{getBoundingClientRect:o3,contextElement:o3.contextElement||A2()}:e3,l3=[{name:"offset",options:{offset:i3}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a3}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e4){var t5=e4.state;if(x2()){var n5=R2().box;["placement","reference-hidden","escaped"].forEach(function(e5){e5==="placement"?n5.setAttribute("data-placement",t5.placement):t5.attributes.popper["data-popper-"+e5]?n5.setAttribute("data-"+e5,""):n5.removeAttribute("data-"+e5)}),t5.attributes.popper={}}}}];x2()&&s3&&l3.push({name:"arrow",options:{element:s3,padding:3}}),l3.push.apply(l3,n4?.modifiers||[]),_2.popperInstance=le(c3,w2,Object.assign({},n4,{placement:r4,onFirstUpdate:u2,modifiers:l3}))}function Z2(){_2.popperInstance&&(_2.popperInstance.destroy(),_2.popperInstance=null)}function ee2(){return ge(w2.querySelectorAll("[data-tippy-root]"))}function te2(e4){_2.clearDelayTimeouts(),e4&&k2("onTrigger",[_2,e4]),$2();var t4=P2(!0),n4=I2(),i3=n4[0],o3=n4[1];Te.isTouch&&i3==="hold"&&o3&&(t4=o3),t4?r3=setTimeout(function(){_2.show()},t4):_2.show()}function ne2(e4){if(_2.clearDelayTimeouts(),k2("onUntrigger",[_2,e4]),_2.state.isVisible){if(!(_2.props.trigger.indexOf("mouseenter")>=0&&_2.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e4.type)>=0&&p2)){var t4=P2(!1);t4?i2=setTimeout(function(){_2.state.isVisible&&_2.hide()},t4):o2=requestAnimationFrame(function(){_2.hide()})}}else B2()}}function Ue(e3,t3){t3===void 0&&(t3={});var n3=Re.plugins.concat(t3.plugins||[]);document.addEventListener("touchstart",Ie,fe),window.addEventListener("blur",xe);var r3=Object.assign({},t3,{plugins:n3}),i2=function(e4){return _e(e4)?[e4]:function(e5){return de(e5,"NodeList")}(e4)?ge(e4):Array.isArray(e4)?e4:ge(document.querySelectorAll(e4))}(e3).reduce(function(e4,t4){var n4=t4&&Ve(t4,r3);return n4&&e4.push(n4),e4},[]);return _e(e3)?i2[0]:i2}Ue.defaultProps=Re,Ue.setDefaultProps=function(e3){Object.keys(e3).forEach(function(t3){Re[t3]=e3[t3]})},Ue.currentInput=Te;var $e=function(e3,t3){t3===void 0&&(t3={});var n3,r3=e3,i2=[],o2=t3.overrides,a2=[];function s2(){i2=r3.map(function(e4){return e4.reference})}function u2(e4){r3.forEach(function(t4){e4?t4.enable():t4.disable()})}function c2(e4){return r3.map(function(t4){var r4=t4.setProps;return t4.setProps=function(i3){r4(i3),t4.reference===n3&&e4.setProps(i3)},function(){t4.setProps=r4}})}u2(!1),s2();var l2,f2,p2,d2={fn:function(){return{onDestroy:function(){u2(!0)},onTrigger:function(e4,t4){var a3=t4.currentTarget,s3=i2.indexOf(a3);if(a3!==n3){n3=a3;var u3=(o2||[]).concat("content").reduce(function(e5,t5){return e5[t5]=r3[s3].props[t5],e5},{});e4.setProps(Object.assign({},u3,{getReferenceClientRect:typeof u3.getReferenceClientRect=="function"?u3.getReferenceClientRect:function(){return a3.getBoundingClientRect()}}))}}}}},h2=Ue(be(),Object.assign({},(l2=t3,f2=["overrides"],p2=Object.assign({},l2),f2.forEach(function(e4){delete p2[e4]}),p2),{plugins:[d2].concat(t3.plugins||[]),triggerTarget:i2})),v2=h2.setProps;return h2.setProps=function(e4){o2=e4.overrides||o2,v2(e4)},h2.setInstances=function(e4){u2(!0),a2.forEach(function(e5){return e5()}),r3=e4,u2(!1),s2(),c2(h2),h2.setProps({triggerTarget:i2})},a2=c2(h2),h2};Ue.setDefaultProps({animation:!1});const Be=Ue;var He=n2(2015),Ge=n2.n(He),qe=n2(2326);function We(e3,t3){if(e3==null)return{};var n3,r3,i2={},o2=Object.keys(e3);for(r3=0;r3<o2.length;r3++)n3=o2[r3],t3.indexOf(n3)>=0||(i2[n3]=e3[n3]);return i2}var ze=typeof window<"u"&&typeof document<"u";function Ye(e3,t3){e3&&(typeof e3=="function"&&e3(t3),{}.hasOwnProperty.call(e3,"current")&&(e3.current=t3))}function Je(){return ze&&document.createElement("div")}function Qe(e3,t3){var n3,r3;return Object.assign({},t3,{popperOptions:Object.assign({},e3.popperOptions,t3.popperOptions,{modifiers:[].concat((((n3=e3.popperOptions)==null?void 0:n3.modifiers)||[]).filter(function(e4){return e4.name.indexOf("tippy")>=0}),((r3=t3.popperOptions)==null?void 0:r3.modifiers)||[])})})}var Ke=ze?He.useLayoutEffect:He.useEffect;function Xe(e3){var t3=(0,He.useRef)();return t3.current||(t3.current=typeof e3=="function"?e3():e3),t3.current}function Ze(e3,t3,n3){n3.split(/\s+/).forEach(function(n4){n4&&e3.classList[t3](n4)})}var et={name:"className",defaultValue:"",fn:function(e3){var t3=e3.popper.firstElementChild,n3=function(){var t4;return!!((t4=e3.props.render)!=null&&t4.$$tippy)};function r3(){e3.props.className&&!n3()||Ze(t3,"add",e3.props.className)}return{onCreate:r3,onBeforeUpdate:function(){n3()&&Ze(t3,"remove",e3.props.className)},onAfterUpdate:r3}}};function tt(e3){return function(t3){var n3=t3.children,r3=t3.content,i2=t3.visible,o2=t3.singleton,a2=t3.render,s2=t3.reference,u2=t3.disabled,c2=u2!==void 0&&u2,l2=t3.ignoreAttributes,f2=l2===void 0||l2,p2=(t3.__source,t3.__self,We(t3,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),d2=i2!==void 0,h2=o2!==void 0,v2=(0,He.useState)(!1),m2=v2[0],y2=v2[1],g2=(0,He.useState)({}),b2=g2[0],_2=g2[1],E2=(0,He.useState)(),w2=E2[0],O2=E2[1],T2=Xe(function(){return{container:Je(),renders:1}}),N2=Object.assign({ignoreAttributes:f2},p2,{content:T2.container});d2&&(N2.trigger="manual",N2.hideOnClick=!1),h2&&(c2=!0);var I2=N2,S2=N2.plugins||[];a2&&(I2=Object.assign({},N2,{plugins:h2?[].concat(S2,[{fn:function(){return{onTrigger:function(e4,t4){var n4=o2.data.children.find(function(e5){return e5.instance.reference===t4.currentTarget}).content;O2(n4)}}}}]):S2,render:function(){return{popper:T2.container}}}));var x2=[s2].concat(n3?[n3.type]:[]);return Ke(function(){var t4=s2;s2&&s2.hasOwnProperty("current")&&(t4=s2.current);var n4=e3(t4||T2.ref||Je(),Object.assign({},I2,{plugins:[et].concat(N2.plugins||[])}));return T2.instance=n4,c2&&n4.disable(),i2&&n4.show(),h2&&o2.hook({instance:n4,content:r3,props:I2}),y2(!0),function(){n4.destroy(),o2?.cleanup(n4)}},x2),Ke(function(){if(T2.renders!==1){var e4=T2.instance;e4.setProps(Qe(e4.props,I2)),c2?e4.disable():e4.enable(),d2&&(i2?e4.show():e4.hide()),h2&&o2.hook({instance:e4,content:r3,props:I2})}else T2.renders++}),Ke(function(){var e4;if(a2){var t4=T2.instance;t4.setProps({popperOptions:Object.assign({},t4.props.popperOptions,{modifiers:[].concat(((e4=t4.props.popperOptions)==null?void 0:e4.modifiers)||[],[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e5){var t5,n4=e5.state,r4=(t5=n4.modifiersData)==null?void 0:t5.hide;b2.placement===n4.placement&&b2.referenceHidden===r4?.isReferenceHidden&&b2.escaped===r4?.hasPopperEscaped||_2({placement:n4.placement,referenceHidden:r4?.isReferenceHidden,escaped:r4?.hasPopperEscaped}),n4.attributes.popper={}}}])})})}},[b2.placement,b2.referenceHidden,b2.escaped].concat(x2)),Ge().createElement(Ge().Fragment,null,n3?(0,He.cloneElement)(n3,{ref:function(e4){T2.ref=e4,Ye(n3.ref,e4)}}):null,m2&&(0,qe.createPortal)(a2?a2(function(e4){var t4={"data-placement":e4.placement};return e4.referenceHidden&&(t4["data-reference-hidden"]=""),e4.escaped&&(t4["data-escaped"]=""),t4}(b2),w2,T2.instance):r3,T2.container))}}function nt(e3){return function(t3){var n3=t3===void 0?{}:t3,r3=n3.disabled,i2=r3!==void 0&&r3,o2=n3.overrides,a2=o2===void 0?[]:o2,s2=(0,He.useState)(!1),u2=s2[0],c2=s2[1],l2=Xe({children:[],renders:1});return Ke(function(){if(u2){var t4=l2.children,n4=l2.sourceData;if(n4){var r4=e3(t4.map(function(e4){return e4.instance}),Object.assign({},n4.props,{popperOptions:n4.instance.props.popperOptions,overrides:a2,plugins:[et].concat(n4.props.plugins||[])}));return l2.instance=r4,i2&&r4.disable(),function(){r4.destroy(),l2.children=t4.filter(function(e4){return!e4.instance.state.isDestroyed})}}}else c2(!0)},[u2]),Ke(function(){if(u2)if(l2.renders!==1){var e4=l2.children,t4=l2.instance,n4=l2.sourceData;if(t4&&n4){var r4=n4.props,o3=(r4.content,We(r4,["content"]));t4.setProps(Qe(t4,Object.assign({},o3,{overrides:a2}))),t4.setInstances(e4.map(function(e5){return e5.instance})),i2?t4.disable():t4.enable()}}else l2.renders++}),(0,He.useMemo)(function(){return[{data:l2,hook:function(e4){l2.sourceData=e4},cleanup:function(){l2.sourceData=null}},{hook:function(e4){l2.children.find(function(t4){var n4=t4.instance;return e4.instance===n4})||l2.children.push(e4)},cleanup:function(e4){l2.children=l2.children.filter(function(t4){return t4.instance!==e4})}}]},[])}}var rt=function(e3,t3){return(0,He.forwardRef)(function(n3,r3){var i2=n3.children,o2=We(n3,["children"]);return Ge().createElement(e3,Object.assign({},t3,o2),i2?(0,He.cloneElement)(i2,{ref:function(e4){Ye(r3,e4),Ye(i2.ref,e4)}}):null)})},it=nt($e);const ot=rt(tt(Be),{render:function(){return""}})},4487:(e2,t2)=>{var n2;(function(){"use strict";var r2={}.hasOwnProperty;function i(){for(var e3=[],t3=0;t3<arguments.length;t3++){var n3=arguments[t3];if(n3){var o=typeof n3;if(o==="string"||o==="number")e3.push(n3);else if(Array.isArray(n3)&&n3.length){var a=i.apply(null,n3);a&&e3.push(a)}else if(o==="object")for(var s in n3)r2.call(n3,s)&&n3[s]&&e3.push(s)}}return e3.join(" ")}e2.exports?(i.default=i,e2.exports=i):(n2=function(){return i}.apply(t2,[]))===void 0||(e2.exports=n2)})()},2570:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});var r2=n2(380);t2.tarjan=r2.tarjan},380:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0});const i=r2(n2(2935));t2.tarjan=function(e3){var t3=0,n3=[],r3={},o=[];function a(s){var u=r3[s]={onStack:!0,lowlink:t3,index:t3++};if(n3.push(s),[...e3.successors(s).keys()].forEach(function(e4){i.default.has(r3,e4)?r3[e4].onStack&&(u.lowlink=Math.min(u.lowlink,r3[e4].index)):(a(e4),u.lowlink=Math.min(u.lowlink,r3[e4].lowlink))}),u.lowlink===u.index){var c,l=[];do c=n3.pop(),r3[c].onStack=!1,l.push(c);while(s!==c);o.push(l)}}return[...e3.nodes.keys()].forEach(function(e4){i.default.has(r3,e4)||a(e4)}),o}},2842:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.GraphEdge=class{constructor(e3,t3,n2){this.sourceId=e3,this.targetId=t3,this.sourceId=e3,this.targetId=t3,this.attr=n2}stringify(){let e3="";return e3=this.attr.stringify&&typeof this.attr.stringify=="function"?this.attr.stringify():JSON.stringify(this.attr),e3}static fromObject(e3,t3){if(!e3.hasOwnProperty("sourceId"))throw Error("missing source id");if(!e3.hasOwnProperty("targetId"))throw Error("missing target id");return{sourceId:e3.sourceId,targetId:e3.targetId,edge:t3(e3.edge)}}static edgeId(e3,t3){return`${e3}->${t3}`}static parseEdgeId(e3){const t3=e3.split("->");return t3.length===2?{sourceId:t3[0],targetId:t3[1]}:{sourceId:"",targetId:""}}get nodes(){return[this.sourceId,this.targetId]}},t2.genericParseEdge=function(e3){return Object.keys(e3).length===0&&e3.constructor===Object||typeof e3!="object"?e3:JSON.parse(e3)},t2.genericEdgeToJson=function(e3){return e3}},7509:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});class n2 extends Error{constructor(e3){super(e3),Object.setPrototypeOf(this,new.target.prototype)}}t2.CyclicError=n2;class r2 extends Error{constructor(e3){super(e3),Object.setPrototypeOf(this,new.target.prototype)}}t2.NodeDoesntExist=r2},3871:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0});const i=n2(1895),o=n2(1895),a=n2(1895),s=r2(n2(2935)),u=n2(2570),c=n2(7287),l=n2(2842);class f{constructor(e3=[],t3=[]){this._nodes=new Map,this._edges=new Map,e3.forEach(e4=>this.setNode(e4.id,e4.node)),t3.forEach(e4=>this.setEdge(e4.sourceId,e4.targetId,e4.edge))}create(e3=[],t3=[]){return new f(e3,t3)}get _userNodes(){return this._transformToUserNodeMap(this._nodes)}get _userEdges(){return this._transformToUserEdgeMap(this._edges)}_transformToUserNodeMap(e3){let t3=new Map;for(const[n3,r3]of e3.entries())t3.set(n3,r3.attr);return t3}_transformToUserEdgeMap(e3){let t3=new Map;for(const[n3,r3]of e3.entries())t3.set(n3,r3.attr);return t3}setNode(e3,t3,n3=!0){if(this.hasNode(e3)){if(n3){let n4=this._node(e3);n4&&(n4.attr=t3)}}else{let n4=new i.GraphNode(e3,t3);this._nodes.set(e3,n4)}return this}setEdge(e3,t3,n3,r3=!0){if(this.hasEdge(e3,t3)){if(r3){let r4=this._edge(e3,t3);return r4&&(r4.attr=n3),this}return this}const i2=o.GraphEdge.edgeId(e3,t3);let a2=new o.GraphEdge(e3,t3,n3);if(this._edges.set(i2,a2),!this._nodes.has(e3))throw Error("source node does not exist");{let t4=this._nodes.get(e3);t4!==void 0&&t4.setOutEdge(i2)}if(!this._nodes.has(t3))throw Error("target node does not exist");{let e4=this._nodes.get(t3);e4!==void 0&&e4.setInEdge(i2)}return this}setNodes(e3,t3=!0){return e3.forEach(e4=>{if(this.hasNode(e4.id)){if(t3){let t4=this._node(e4.id);t4&&(t4.attr=e4.node)}}else this.setNode(e4.id,e4.node)}),this}setEdges(e3,t3=!0){return e3.forEach(e4=>{if(this.hasEdge(e4.sourceId,e4.targetId)){if(t3){let t4=this._edge(e4.sourceId,e4.targetId);t4&&(t4.attr=e4.edge)}}else this.setEdge(e4.sourceId,e4.targetId,e4.edge)}),this}hasNode(e3){return this._nodes.has(e3)}hasEdge(e3,t3){return this._edges.has(o.GraphEdge.edgeId(e3,t3))}node(e3){var t3;return(t3=this._nodes.get(e3))===null||t3===void 0?void 0:t3.attr}edge(e3,t3){var n3;return(n3=this._edges.get(o.GraphEdge.edgeId(e3,t3)))===null||n3===void 0?void 0:n3.attr}_node(e3){return this._nodes.get(e3)}_edge(e3,t3){return this._edges.get(o.GraphEdge.edgeId(e3,t3))}_edgeById(e3){return this._edges.get(e3)}edgeNodesById(e3){var t3,n3;return{sourceId:(t3=this._edges.get(e3))===null||t3===void 0?void 0:t3.sourceId,targetId:(n3=this._edges.get(e3))===null||n3===void 0?void 0:n3.targetId}}get nodes(){return this._userNodes}get graphNodes(){return this._nodes}get edges(){return this._userEdges}get graphEdges(){return this._edges}nodeCount(){return[...this._nodes.keys()].length}edgeCount(){return[...this._edges.keys()].length}sources(){return[...this._nodes.values()].filter(e3=>e3.isSource()).map(e3=>e3.attr)}sinks(){return[...this._nodes.values()].filter(e3=>e3.isSink()).map(e3=>e3.attr)}deleteNode(e3){const t3=this._node(e3);t3!==void 0&&(t3.nodeEdges.forEach(e4=>{const{sourceId:t4,targetId:n3}=o.GraphEdge.parseEdgeId(e4);this.deleteEdge(t4,n3)}),this._nodes.delete(e3))}deleteEdge(e3,t3){const n3=o.GraphEdge.edgeId(e3,t3);if(this._edges.get(n3)!==void 0){let r3=this._nodes.get(e3);r3!==void 0&&r3.deleteEdge(n3);let i2=this._nodes.get(t3);i2!==void 0&&i2.deleteEdge(n3)}this._edges.delete(n3)}inEdges(e3){return this._transformToUserEdgeMap(this._inEdges(e3))}outEdges(e3){return this._transformToUserEdgeMap(this._outEdges(e3))}nodeEdges(e3){return this._transformToUserEdgeMap(this._nodeEdges(e3))}_inEdges(e3){let t3=new Map;const n3=this._node(e3);return n3===void 0||n3.inEdges.forEach(e4=>{let{sourceId:n4,targetId:r3}=o.GraphEdge.parseEdgeId(e4),i2=this._edge(n4,r3);i2!==void 0&&t3.set(e4,i2)}),t3}_outEdges(e3){let t3=new Map;const n3=this._node(e3);return n3===void 0||n3.outEdges.forEach(e4=>{let{sourceId:n4,targetId:r3}=o.GraphEdge.parseEdgeId(e4),i2=this._edge(n4,r3);i2!==void 0&&t3.set(e4,i2)}),t3}_nodeEdges(e3){let t3=new Map;const n3=this._node(e3);return n3===void 0||n3.nodeEdges.forEach(e4=>{let{sourceId:n4,targetId:r3}=o.GraphEdge.parseEdgeId(e4),i2=this._edge(n4,r3);i2!==void 0&&t3.set(e4,i2)}),t3}successors(e3,t3=p){return this._transformToUserNodeMap(this._successors(e3,t3))}predecessors(e3,t3=p){return this._transformToUserNodeMap(this._predecessors(e3,t3))}neighbors(e3,t3=p){return this._transformToUserNodeMap(this._neighbors(e3,t3))}_successors(e3,t3=p){let n3=new Map;const r3=this._node(e3);return r3===void 0||r3.outEdges.forEach(e4=>{var r4;const i2=(r4=this._edges.get(e4))===null||r4===void 0?void 0:r4.attr;if(i2!=null&&t3(i2)){const{sourceId:t4,targetId:r5}=o.GraphEdge.parseEdgeId(e4),i3=this._node(r5);r5&&i3!==void 0&&n3.set(r5,i3)}}),n3}_predecessors(e3,t3=p){let n3=new Map;const r3=this._node(e3);return r3===void 0||r3.inEdges.forEach(e4=>{var r4;const i2=(r4=this._edges.get(e4))===null||r4===void 0?void 0:r4.attr;if(i2!=null&&t3(i2)){const{sourceId:t4,targetId:r5}=o.GraphEdge.parseEdgeId(e4),i3=this._node(t4);t4&&i3!==void 0&&n3.set(t4,i3)}}),n3}_neighbors(e3,t3=p){return new Map([...this._predecessors(e3,t3),...this._successors(e3,t3)])}successorsSubgraph(e3,t3=p){return this._buildSubgraphs(e3,t3,"successors")}_alreadyProcessed(e3,t3){for(const n3 of t3)if(n3.hasNode(e3))return!0;return!1}_buildSubgraphs(e3,t3,n3){let r3=[];if(!Array.isArray(e3))return this._buildSubgraph(e3,t3,n3);if(e3.forEach(e4=>{this._alreadyProcessed(e4,r3)||r3.push(this._buildSubgraph(e4,t3,n3))}),r3.length===1)return r3[0];let i2=this.create();return r3.length&&(i2=r3[0].merge(r3)),i2}_buildSubgraph(e3,t3,n3){let r3=this.create(),i2=this._node(e3);if(!i2)throw new Error("Node does not exist on graph");return r3.setNode(e3,i2.attr),n3==="successors"?this._successorsSubgraphUtil(e3,r3,{},t3):this._predecessorsSubgraphUtil(e3,r3,{},t3)}_successorsSubgraphUtil(e3,t3,n3={},r3){const i2=[...this._successors(e3,r3).keys()];return i2.length>0&&!n3[e3]&&i2.forEach(i3=>{n3[e3]=!0;const a2=this._nodes.get(i3),s2=this._edges.get(o.GraphEdge.edgeId(e3,i3));if(a2!==void 0&&s2!=null)return t3.setNode(i3,a2.attr),t3.setEdge(e3,i3,s2.attr),this._successorsSubgraphUtil(i3,t3,n3,r3)}),t3}successorsArray(e3,t3=p){const n3=s.default.uniq(this._successorsArrayUtil(e3,[],{},t3));let r3=[];return n3.forEach(e4=>{let t4=this.node(e4);t4!=null&&r3.push(t4)}),r3}_successorsArrayUtil(e3,t3=[],n3={},r3=p){const i2=[...this._successors(e3,r3).keys()];return i2.length>0&&!n3[e3]&&i2.forEach(i3=>(n3[e3]=!0,t3.push(i3),this._successorsArrayUtil(i3,t3,n3,r3))),t3}successorsLayers(e3,t3=p,n3="fromSource"){let r3=this.successorsSubgraph(e3,t3);if(this.isCyclic(r3))throw new Error("cyclic dependency");let i2=[];return i2[0]=[e3],d(this._successorsLayersUtil([e3],i2,0,t3),n3)}_successorsLayersUtil(e3,t3,n3,r3=p){if(e3.length>0){let e4=n3+1;return t3.push([]),t3[n3].forEach(n4=>{const i2=[...this.successors(n4,r3).keys()];t3[e4]=t3[e4].concat(i2)}),this._successorsLayersUtil(t3[e4],t3,e4,r3)}return t3}predecessorsSubgraph(e3,t3=p){return this._buildSubgraphs(e3,t3,"predecessors")}_predecessorsSubgraphUtil(e3,t3,n3={},r3=p){const i2=[...this._predecessors(e3,r3).keys()];return i2.length>0&&!n3[e3]&&i2.forEach(i3=>{n3[e3]=!0;const a2=this._nodes.get(i3),s2=this._edges.get(o.GraphEdge.edgeId(i3,e3));if(a2!==void 0&&s2!=null)return t3.setNode(i3,a2.attr),t3.setEdge(i3,e3,s2.attr),this._predecessorsSubgraphUtil(i3,t3,n3,r3)}),t3}predecessorsArray(e3,t3=p){const n3=s.default.uniq(this._predecessorsArrayUtil(e3,[],{},t3));let r3=[];return n3.forEach(e4=>{let t4=this.node(e4);t4!=null&&r3.push(t4)}),r3}_predecessorsArrayUtil(e3,t3=[],n3={},r3=p){const i2=[...this._predecessors(e3,r3).keys()];return i2.length>0&&!n3[e3]&&i2.forEach(i3=>(n3[e3]=!0,t3.push(i3),this._predecessorsArrayUtil(i3,t3,n3,r3))),t3}predecessorsLayers(e3,t3=p,n3="fromSource"){let r3=this.predecessorsSubgraph(e3,t3);if(this.isCyclic(r3))throw new Error("cyclic sub-graph");let i2=[];return i2[0]=[e3],d(this._predecessorsLayersUtil([e3],i2,0,t3),n3)}_predecessorsLayersUtil(e3,t3,n3,r3=p){if(e3.length>0){let e4=n3+1;return t3.push([]),t3[n3].forEach(n4=>{const i2=[...this.predecessors(n4,r3).keys()];t3[e4]=t3[e4].concat(i2)}),this._predecessorsLayersUtil(t3[e4],t3,e4,r3)}return t3}toposort(e3=!1){let t3=this._toposort().map(e4=>this.node(e4));return t3=s.default.compact(t3),e3?t3.reverse():t3}_transformEdges(){let e3=[];return this._edges.forEach(t3=>{e3.push([t3.sourceId,t3.targetId])}),e3}_toposort(){const e3=[...this._nodes.keys()],t3=this._transformEdges();var n3=e3.length,r3=new Array(n3),i2={},o2=n3,s2=function(e4){for(var t4=new Map,n4=0,r4=e4.length;n4<r4;n4++){var i3=e4[n4];t4.has(i3[0])||t4.set(i3[0],new Set),t4.has(i3[1])||t4.set(i3[1],new Set),t4.get(i3[0]).add(i3[1])}return t4}(t3),u2=function(e4){for(var t4=new Map,n4=0,r4=e4.length;n4<r4;n4++)t4.set(e4[n4],n4);return t4}(e3);for(t3.forEach(function(e4){if(!u2.has(e4[0])||!u2.has(e4[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});o2--;)i2[o2]||c2(e3[o2],o2,new Set);return r3;function c2(e4,t4,o3){if(o3.has(e4)){var l2;try{l2=", node was:"+JSON.stringify(e4)}catch{l2=""}throw new a.CyclicError("Cyclic dependency"+l2)}if(!u2.has(e4))throw new Error("Found unknown node. Make sure to provide all involved nodes. Unknown node: "+JSON.stringify(e4));if(!i2[t4]){i2[t4]=!0;var f2=s2.get(e4)||new Set;if(t4=(f2=Array.from(f2)).length){o3.add(e4);do{var p2=f2[--t4];c2(p2,u2.get(p2),o3)}while(t4);o3.delete(e4)}r3[--n3]=e4}}}isCyclic(e3=this){try{e3.toposort()}catch(e4){if(e4 instanceof a.CyclicError)return!0;throw e4}return!1}findCycles(e3=this){return t3=e3,s.default.filter(u.tarjan(t3),function(e4){return e4.length>1||e4.length===1&&t3.hasEdge(e4[0],e4[0])});var t3}merge(e3){let t3=this;return e3.forEach(e4=>{var n3,r3;for(let[n4,r4]of e4.nodes)t3.setNode(n4,r4);for(let[i2,o2]of e4.edges){const s2=(n3=e4._edges.get(i2))===null||n3===void 0?void 0:n3.sourceId,u2=(r3=e4._edges.get(i2))===null||r3===void 0?void 0:r3.targetId;if(t3.edges.has(i2)&&s2&&u2)t3.setEdge(s2,u2,o2);else{if(!(s2&&u2&&t3.hasNode(s2)&&t3.hasNode(u2)))throw a.NodeDoesntExist;t3.setEdge(s2,u2,o2)}}}),t3}allPaths(e3,t3){return this._allPaths(e3,t3,[],[])}_allPaths(e3,t3,n3,r3,i2={}){return i2[e3]=!0,n3.push(e3),e3===t3?r3.push(s.default.cloneDeep(n3)):[...this._successors(e3).keys()].forEach(e4=>{i2[e4]||this._allPaths(e4,t3,n3,r3,i2)}),n3.pop(),i2[e3]=!1,r3}toJson(e3){return e3?this._toJson(e3,"object"):this._toJson(this,"object")}stringify(e3){return e3?this._toJson(e3,"string"):this._toJson(this,"string")}static parse(e3,t3=c.genericParseNode,n3=l.genericParseEdge){return this._fromJson(e3,t3,n3)}_toJson(e3,t3){let n3=[];for(let[r4,i3]of e3.nodes.entries()){const i4=e3._node(r4);if(i4){let e4;e4=t3==="object"?i4.attr.toJson&&typeof i4.attr.toJson=="function"?i4.attr.toJson():c.genericNodeToJson(i4.attr):i4.stringify(),n3.push({id:r4,node:e4})}}let r3=[];for(let[n4,i3]of e3.edges.entries()){const i4=e3._edgeById(n4);if(i4){let e4;e4=t3==="object"?i4.attr.toJson&&typeof i4.attr.toJson=="function"?i4.attr.toJson():c.genericNodeToJson(i4.attr):i4.stringify(),r3.push({sourceId:i4.sourceId,targetId:i4.targetId,edge:e4})}}let i2={nodes:n3,edges:r3};return t3==="object"?i2:JSON.stringify(i2)}static _fromJson(e3,t3,n3){const r3=typeof e3=="string"?JSON.parse(e3):e3;let a2=new f;if(!r3.hasOwnProperty("nodes")||!r3.hasOwnProperty("edges"))throw Error("missing properties on JSON. Should contain nodes: {id: string, node: N}[], and edges: {sourceId: string, targetId: string, edge:E}[]");return r3.nodes.forEach(e4=>{const n4=i.GraphNode.fromObject(e4,t3);a2.setNode(n4.id,n4.node)}),r3.edges.forEach(e4=>{const t4=o.GraphEdge.fromObject(e4,n3);a2.setEdge(t4.sourceId,t4.targetId,t4.edge)}),a2}bfs(){}dfs(){}}function p(){return!0}function d(e3,t3){let n3=[],r3=[];e3=e3.reverse();let i2=0;return e3.forEach(e4=>{e4.length>0&&(n3.push([]),e4.forEach(e5=>{r3.indexOf(e5)==-1&&(r3.push(e5),n3[i2].push(e5))}),i2++)}),t3==="fromSource"?n3.reverse():n3}t2.Graph=f},1895:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});var r2=n2(2842);t2.GraphEdge=r2.GraphEdge;var i=n2(7287);t2.GraphNode=i.GraphNode;var o=n2(7509);t2.CyclicError=o.CyclicError,t2.NodeDoesntExist=o.NodeDoesntExist;var a=n2(3871);t2.Graph=a.Graph},7287:function(e2,t2,n2){"use strict";var r2=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0});const i=n2(2935),o=r2(n2(2935));t2.GraphNode=class{constructor(e3,t3,n3,r3){this.id=e3,this.attr=t3,this._inEdges=n3||[],this._outEdges=r3||[]}setInEdge(e3){this._inEdges.push(e3)}setOutEdge(e3){this._outEdges.push(e3)}deleteEdge(e3){o.default.remove(this._inEdges,function(t3){return t3===e3}),o.default.remove(this._outEdges,function(t3){return t3===e3})}get inEdges(){return this._inEdges}get outEdges(){return this._outEdges}get nodeEdges(){return this._inEdges.concat(this._outEdges)}isSource(){return this._inEdges.length===0&&this._outEdges.length>0}isSink(){return this._inEdges.length>0&&this._outEdges.length===0}equals(e3){return this.id===e3.id&&i.isEqual(this.attr,e3.attr)}stringify(){let e3="";return e3=this.attr.stringify&&typeof this.attr.stringify=="function"?this.attr.stringify():JSON.stringify(this.attr),e3}static fromObject(e3,t3){if(!e3.hasOwnProperty("id"))throw Error("missing object id");return{id:e3.id,node:t3(e3.node)}}},t2.genericParseNode=function(e3){return Object.keys(e3).length===0&&e3.constructor===Object||typeof e3!="object"?e3:JSON.parse(e3)},t2.genericNodeToJson=function(e3){return e3}},2607:function(e2,t2){var n2=typeof self<"u"?self:this,r2=function(){function e3(){this.fetch=!1,this.DOMException=n2.DOMException}return e3.prototype=n2,new e3}();(function(e3){(function(t3){var n3="URLSearchParams"in e3,r3="Symbol"in e3&&"iterator"in Symbol,i2="FileReader"in e3&&"Blob"in e3&&function(){try{return new Blob,!0}catch{return!1}}(),o="FormData"in e3,a="ArrayBuffer"in e3;if(a)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e4){return e4&&s.indexOf(Object.prototype.toString.call(e4))>-1};function c(e4){if(typeof e4!="string"&&(e4=String(e4)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e4))throw new TypeError("Invalid character in header field name");return e4.toLowerCase()}function l(e4){return typeof e4!="string"&&(e4=String(e4)),e4}function f(e4){var t4={next:function(){var t5=e4.shift();return{done:t5===void 0,value:t5}}};return r3&&(t4[Symbol.iterator]=function(){return t4}),t4}function p(e4){this.map={},e4 instanceof p?e4.forEach(function(e5,t4){this.append(t4,e5)},this):Array.isArray(e4)?e4.forEach(function(e5){this.append(e5[0],e5[1])},this):e4&&Object.getOwnPropertyNames(e4).forEach(function(t4){this.append(t4,e4[t4])},this)}function d(e4){if(e4.bodyUsed)return Promise.reject(new TypeError("Already read"));e4.bodyUsed=!0}function h(e4){return new Promise(function(t4,n4){e4.onload=function(){t4(e4.result)},e4.onerror=function(){n4(e4.error)}})}function v(e4){var t4=new FileReader,n4=h(t4);return t4.readAsArrayBuffer(e4),n4}function m(e4){if(e4.slice)return e4.slice(0);var t4=new Uint8Array(e4.byteLength);return t4.set(new Uint8Array(e4)),t4.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e4){var t4;this._bodyInit=e4,e4?typeof e4=="string"?this._bodyText=e4:i2&&Blob.prototype.isPrototypeOf(e4)?this._bodyBlob=e4:o&&FormData.prototype.isPrototypeOf(e4)?this._bodyFormData=e4:n3&&URLSearchParams.prototype.isPrototypeOf(e4)?this._bodyText=e4.toString():a&&i2&&(t4=e4)&&DataView.prototype.isPrototypeOf(t4)?(this._bodyArrayBuffer=m(e4.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e4)||u(e4))?this._bodyArrayBuffer=m(e4):this._bodyText=e4=Object.prototype.toString.call(e4):this._bodyText="",this.headers.get("content-type")||(typeof e4=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n3&&URLSearchParams.prototype.isPrototypeOf(e4)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i2&&(this.blob=function(){var e4=d(this);if(e4)return e4;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(v)}),this.text=function(){var e4,t4,n4,r4=d(this);if(r4)return r4;if(this._bodyBlob)return e4=this._bodyBlob,n4=h(t4=new FileReader),t4.readAsText(e4),n4;if(this._bodyArrayBuffer)return Promise.resolve(function(e5){for(var t5=new Uint8Array(e5),n5=new Array(t5.length),r5=0;r5<t5.length;r5++)n5[r5]=String.fromCharCode(t5[r5]);return n5.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(_)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(e4,t4){e4=c(e4),t4=l(t4);var n4=this.map[e4];this.map[e4]=n4?n4+", "+t4:t4},p.prototype.delete=function(e4){delete this.map[c(e4)]},p.prototype.get=function(e4){return e4=c(e4),this.has(e4)?this.map[e4]:null},p.prototype.has=function(e4){return this.map.hasOwnProperty(c(e4))},p.prototype.set=function(e4,t4){this.map[c(e4)]=l(t4)},p.prototype.forEach=function(e4,t4){for(var n4 in this.map)this.map.hasOwnProperty(n4)&&e4.call(t4,this.map[n4],n4,this)},p.prototype.keys=function(){var e4=[];return this.forEach(function(t4,n4){e4.push(n4)}),f(e4)},p.prototype.values=function(){var e4=[];return this.forEach(function(t4){e4.push(t4)}),f(e4)},p.prototype.entries=function(){var e4=[];return this.forEach(function(t4,n4){e4.push([n4,t4])}),f(e4)},r3&&(p.prototype[Symbol.iterator]=p.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e4,t4){var n4,r4,i3=(t4=t4||{}).body;if(e4 instanceof b){if(e4.bodyUsed)throw new TypeError("Already read");this.url=e4.url,this.credentials=e4.credentials,t4.headers||(this.headers=new p(e4.headers)),this.method=e4.method,this.mode=e4.mode,this.signal=e4.signal,i3||e4._bodyInit==null||(i3=e4._bodyInit,e4.bodyUsed=!0)}else this.url=String(e4);if(this.credentials=t4.credentials||this.credentials||"same-origin",!t4.headers&&this.headers||(this.headers=new p(t4.headers)),this.method=(r4=(n4=t4.method||this.method||"GET").toUpperCase(),g.indexOf(r4)>-1?r4:n4),this.mode=t4.mode||this.mode||null,this.signal=t4.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&i3)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i3)}function _(e4){var t4=new FormData;return e4.trim().split("&").forEach(function(e5){if(e5){var n4=e5.split("="),r4=n4.shift().replace(/\+/g," "),i3=n4.join("=").replace(/\+/g," ");t4.append(decodeURIComponent(r4),decodeURIComponent(i3))}}),t4}function E(e4,t4){t4||(t4={}),this.type="default",this.status=t4.status===void 0?200:t4.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t4?t4.statusText:"OK",this.headers=new p(t4.headers),this.url=t4.url||"",this._initBody(e4)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},y.call(b.prototype),y.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},E.error=function(){var e4=new E(null,{status:0,statusText:""});return e4.type="error",e4};var w=[301,302,303,307,308];E.redirect=function(e4,t4){if(w.indexOf(t4)===-1)throw new RangeError("Invalid status code");return new E(null,{status:t4,headers:{location:e4}})},t3.DOMException=e3.DOMException;try{new t3.DOMException}catch{t3.DOMException=function(e5,t4){this.message=e5,this.name=t4;var n4=Error(e5);this.stack=n4.stack},t3.DOMException.prototype=Object.create(Error.prototype),t3.DOMException.prototype.constructor=t3.DOMException}function O(e4,n4){return new Promise(function(r4,o2){var a2=new b(e4,n4);if(a2.signal&&a2.signal.aborted)return o2(new t3.DOMException("Aborted","AbortError"));var s2=new XMLHttpRequest;function u2(){s2.abort()}s2.onload=function(){var e5,t4,n5={status:s2.status,statusText:s2.statusText,headers:(e5=s2.getAllResponseHeaders()||"",t4=new p,e5.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e6){var n6=e6.split(":"),r5=n6.shift().trim();if(r5){var i4=n6.join(":").trim();t4.append(r5,i4)}}),t4)};n5.url="responseURL"in s2?s2.responseURL:n5.headers.get("X-Request-URL");var i3="response"in s2?s2.response:s2.responseText;r4(new E(i3,n5))},s2.onerror=function(){o2(new TypeError("Network request failed"))},s2.ontimeout=function(){o2(new TypeError("Network request failed"))},s2.onabort=function(){o2(new t3.DOMException("Aborted","AbortError"))},s2.open(a2.method,a2.url,!0),a2.credentials==="include"?s2.withCredentials=!0:a2.credentials==="omit"&&(s2.withCredentials=!1),"responseType"in s2&&i2&&(s2.responseType="blob"),a2.headers.forEach(function(e5,t4){s2.setRequestHeader(t4,e5)}),a2.signal&&(a2.signal.addEventListener("abort",u2),s2.onreadystatechange=function(){s2.readyState===4&&a2.signal.removeEventListener("abort",u2)}),s2.send(a2._bodyInit===void 0?null:a2._bodyInit)})}O.polyfill=!0,e3.fetch||(e3.fetch=O,e3.Headers=p,e3.Request=b,e3.Response=E),t3.Headers=p,t3.Request=b,t3.Response=E,t3.fetch=O,Object.defineProperty(t3,"__esModule",{value:!0})})({})})(r2),r2.fetch.ponyfill=!0,delete r2.fetch.polyfill;var i=r2;(t2=i.fetch).default=i.fetch,t2.fetch=i.fetch,t2.Headers=i.Headers,t2.Request=i.Request,t2.Response=i.Response,e2.exports=t2},3706:(e2,t2,n2)=>{"use strict";var r2=n2(6909),i=n2(1135),o=n2(2542),a=n2(5482),s=n2(5416);(e2.exports=function(e3,t3){var n3,i2,u,c,l;return arguments.length<2||typeof e3!="string"?(c=t3,t3=e3,e3=null):c=arguments[2],r2(e3)?(n3=s.call(e3,"c"),i2=s.call(e3,"e"),u=s.call(e3,"w")):(n3=u=!0,i2=!1),l={value:t3,configurable:n3,enumerable:i2,writable:u},c?o(a(c),l):l}).gs=function(e3,t3,n3){var u,c,l,f;return typeof e3!="string"?(l=n3,n3=t3,t3=e3,e3=null):l=arguments[3],r2(t3)?i(t3)?r2(n3)?i(n3)||(l=n3,n3=void 0):n3=void 0:(l=t3,t3=n3=void 0):t3=void 0,r2(e3)?(u=s.call(e3,"c"),c=s.call(e3,"e")):(u=!0,c=!1),f={get:t3,set:n3,configurable:u,enumerable:c},l?o(a(l),f):f}},9936:e2=>{"use strict";e2.exports=function(e3,t2){if(typeof e3!="string")throw new TypeError("Expected a string");return t2=t2===void 0?"_":t2,e3.replace(/([a-z\d])([A-Z])/g,"$1"+t2+"$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1"+t2+"$2").toLowerCase()}},4233:e2=>{"use strict";var t2="%[a-f0-9]{2}",n2=new RegExp("("+t2+")|([^%]+?)","gi"),r2=new RegExp("("+t2+")+","gi");function i(e3,t3){try{return[decodeURIComponent(e3.join(""))]}catch{}if(e3.length===1)return e3;t3=t3||1;var n3=e3.slice(0,t3),r3=e3.slice(t3);return Array.prototype.concat.call([],i(n3),i(r3))}function o(e3){try{return decodeURIComponent(e3)}catch{for(var t3=e3.match(n2)||[],r3=1;r3<t3.length;r3++)t3=(e3=i(t3,r3).join("")).match(n2)||[];return e3}}e2.exports=function(e3){if(typeof e3!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e3+"`");try{return e3=e3.replace(/\+/g," "),decodeURIComponent(e3)}catch{return function(e4){for(var t4={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"},n3=r2.exec(e4);n3;){try{t4[n3[0]]=decodeURIComponent(n3[0])}catch{var i2=o(n3[0]);i2!==n3[0]&&(t4[n3[0]]=i2)}n3=r2.exec(e4)}t4["%C2"]="\uFFFD";for(var a=Object.keys(t4),s=0;s<a.length;s++){var u=a[s];e4=e4.replace(new RegExp(u,"g"),t4[u])}return e4}(e3)}}},5740:(e2,t2,n2)=>{"use strict";var r2=n2(3393),i=n2(2047),o=n2(8948),a=Array.prototype.indexOf,s=Object.prototype.hasOwnProperty,u=Math.abs,c=Math.floor;e2.exports=function(e3){var t3,n3,l,f;if(!r2(e3))return a.apply(this,arguments);for(n3=i(o(this).length),l=arguments[1],t3=l=isNaN(l)?0:l>=0?c(l):i(this.length)-c(u(l));t3<n3;++t3)if(s.call(this,t3)&&(f=this[t3],r2(f)))return t3;return-1}},3583:(e2,t2,n2)=>{"use strict";e2.exports=n2(6070)()?Array.from:n2(6302)},6070:e2=>{"use strict";e2.exports=function(){var e3,t2,n2=Array.from;return typeof n2=="function"&&(t2=n2(e3=["raz","dwa"]),Boolean(t2&&t2!==e3&&t2[1]==="dwa"))}},6302:(e2,t2,n2)=>{"use strict";var r2=n2(4711).iterator,i=n2(236),o=n2(474),a=n2(2047),s=n2(529),u=n2(8948),c=n2(9340),l=n2(9694),f=Array.isArray,p=Function.prototype.call,d={configurable:!0,enumerable:!0,writable:!0,value:null},h=Object.defineProperty;e2.exports=function(e3){var t3,n3,v,m,y,g,b,_,E,w,O=arguments[1],T=arguments[2];if(e3=Object(u(e3)),c(O)&&s(O),this&&this!==Array&&o(this))t3=this;else{if(!O){if(i(e3))return(y=e3.length)!==1?Array.apply(null,e3):((m=new Array(1))[0]=e3[0],m);if(f(e3)){for(m=new Array(y=e3.length),n3=0;n3<y;++n3)m[n3]=e3[n3];return m}}m=[]}if(!f(e3)){if((E=e3[r2])!==void 0){for(b=s(E).call(e3),t3&&(m=new t3),_=b.next(),n3=0;!_.done;)w=O?p.call(O,T,_.value,n3):_.value,t3?(d.value=w,h(m,n3,d)):m[n3]=w,_=b.next(),++n3;y=n3}else if(l(e3)){for(y=e3.length,t3&&(m=new t3),n3=0,v=0;n3<y;++n3)w=e3[n3],n3+1<y&&(g=w.charCodeAt(0))>=55296&&g<=56319&&(w+=e3[++n3]),w=O?p.call(O,T,w,v):w,t3?(d.value=w,h(m,v,d)):m[v]=w,++v;y=v}}if(y===void 0)for(y=a(e3.length),t3&&(m=new t3(y)),n3=0;n3<y;++n3)w=O?p.call(O,T,e3[n3],n3):e3[n3],t3?(d.value=w,h(m,n3,d)):m[n3]=w;return t3&&(d.value=null,m.length=y),m}},8017:(e2,t2,n2)=>{"use strict";var r2=n2(3583),i=Array.isArray;e2.exports=function(e3){return i(e3)?e3:r2(e3)}},3678:(e2,t2,n2)=>{"use strict";var r2=n2(2542),i=n2(6702),o=n2(9340),a=Error.captureStackTrace;e2.exports=function(t3){var n3=new Error(t3),s=arguments[1],u=arguments[2];return o(u)||i(s)&&(u=s,s=null),o(u)&&r2(n3,u),o(s)&&(n3.code=s),a&&a(n3,e2.exports),n3}},860:(e2,t2,n2)=>{"use strict";var r2,i,o,a,s,u=n2(2047),c=function(e3,t3){return t3};try{Object.defineProperty(c,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch{}c.length===1?(r2={configurable:!0,writable:!1,enumerable:!1},i=Object.defineProperty,e2.exports=function(e3,t3){return t3=u(t3),e3.length===t3?e3:(r2.value=t3,i(e3,"length",r2))}):(a=n2(559),s=[],o=function(e3){var t3,n3=0;if(s[e3])return s[e3];for(t3=[];e3--;)t3.push("a"+(++n3).toString(36));return new Function("fn","return function ("+t3.join(", ")+") { return fn.apply(this, arguments); };")},e2.exports=function(e3,t3){var n3;if(t3=u(t3),e3.length===t3)return e3;n3=o(t3)(e3);try{a(n3,e3)}catch{}return n3})},236:e2=>{"use strict";var t2=Object.prototype.toString,n2=t2.call(function(){return arguments}());e2.exports=function(e3){return t2.call(e3)===n2}},474:e2=>{"use strict";var t2=Object.prototype.toString,n2=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);e2.exports=function(e3){return typeof e3=="function"&&n2(t2.call(e3))}},7469:e2=>{"use strict";e2.exports=function(){}},6157:(e2,t2,n2)=>{"use strict";e2.exports=n2(9700)()?Math.sign:n2(7240)},9700:e2=>{"use strict";e2.exports=function(){var e3=Math.sign;return typeof e3=="function"&&e3(10)===1&&e3(-20)===-1}},7240:e2=>{"use strict";e2.exports=function(e3){return e3=Number(e3),isNaN(e3)||e3===0?e3:e3>0?1:-1}},3393:(e2,t2,n2)=>{"use strict";e2.exports=n2(6280)()?Number.isNaN:n2(5620)},6280:e2=>{"use strict";e2.exports=function(){var e3=Number.isNaN;return typeof e3=="function"&&!e3({})&&e3(NaN)&&!e3(34)}},5620:e2=>{"use strict";e2.exports=function(e3){return e3!=e3}},1100:(e2,t2,n2)=>{"use strict";var r2=n2(6157),i=Math.abs,o=Math.floor;e2.exports=function(e3){return isNaN(e3)?0:(e3=Number(e3))!==0&&isFinite(e3)?r2(e3)*o(i(e3)):e3}},2047:(e2,t2,n2)=>{"use strict";var r2=n2(1100),i=Math.max;e2.exports=function(e3){return i(0,r2(e3))}},9009:(e2,t2,n2)=>{"use strict";var r2=n2(529),i=n2(8948),o=Function.prototype.bind,a=Function.prototype.call,s=Object.keys,u=Object.prototype.propertyIsEnumerable;e2.exports=function(e3,t3){return function(n3,c){var l,f=arguments[2],p=arguments[3];return n3=Object(i(n3)),r2(c),l=s(n3),p&&l.sort(typeof p=="function"?o.call(p,n3):void 0),typeof e3!="function"&&(e3=l[e3]),a.call(e3,l,function(e4,r3){return u.call(n3,e4)?a.call(c,f,n3[e4],e4,n3,r3):t3})}}},2542:(e2,t2,n2)=>{"use strict";e2.exports=n2(1013)()?Object.assign:n2(1113)},1013:e2=>{"use strict";e2.exports=function(){var e3,t2=Object.assign;return typeof t2=="function"&&(t2(e3={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e3.foo+e3.bar+e3.trzy==="razdwatrzy")}},1113:(e2,t2,n2)=>{"use strict";var r2=n2(679),i=n2(8948),o=Math.max;e2.exports=function(e3,t3){var n3,a,s,u=o(arguments.length,2);for(e3=Object(i(e3)),s=function(r3){try{e3[r3]=t3[r3]}catch(e4){n3||(n3=e4)}},a=1;a<u;++a)r2(t3=arguments[a]).forEach(s);if(n3!==void 0)throw n3;return e3}},9483:(e2,t2,n2)=>{"use strict";e2.exports=n2(9009)("forEach")},5865:e2=>{"use strict";e2.exports=function(e3){return typeof e3=="function"}},6702:(e2,t2,n2)=>{"use strict";var r2=n2(9340),i={function:!0,object:!0};e2.exports=function(e3){return r2(e3)&&i[typeof e3]||!1}},9340:(e2,t2,n2)=>{"use strict";var r2=n2(7469)();e2.exports=function(e3){return e3!==r2&&e3!==null}},679:(e2,t2,n2)=>{"use strict";e2.exports=n2(174)()?Object.keys:n2(1414)},174:e2=>{"use strict";e2.exports=function(){try{return Object.keys("primitive"),!0}catch{return!1}}},1414:(e2,t2,n2)=>{"use strict";var r2=n2(9340),i=Object.keys;e2.exports=function(e3){return i(r2(e3)?Object(e3):e3)}},5120:(e2,t2,n2)=>{"use strict";var r2=n2(529),i=n2(9483),o=Function.prototype.call;e2.exports=function(e3,t3){var n3={},a=arguments[2];return r2(t3),i(e3,function(e4,r3,i2,s){n3[r3]=o.call(t3,a,e4,r3,i2,s)}),n3}},559:(e2,t2,n2)=>{"use strict";var r2=n2(8948),i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;e2.exports=function(e3,t3){var n3,u=Object(r2(t3));if(e3=Object(r2(e3)),a(u).forEach(function(r3){try{i(e3,r3,o(t3,r3))}catch(e4){n3=e4}}),typeof s=="function"&&s(u).forEach(function(r3){try{i(e3,r3,o(t3,r3))}catch(e4){n3=e4}}),n3!==void 0)throw n3;return e3}},5482:(e2,t2,n2)=>{"use strict";var r2=n2(9340),i=Array.prototype.forEach,o=Object.create;e2.exports=function(e3){var t3=o(null);return i.call(arguments,function(e4){r2(e4)&&function(e5,t4){var n3;for(n3 in e5)t4[n3]=e5[n3]}(Object(e4),t3)}),t3}},8758:e2=>{"use strict";var t2=Array.prototype.forEach,n2=Object.create;e2.exports=function(e3){var r2=n2(null);return t2.call(arguments,function(e4){r2[e4]=!0}),r2}},529:e2=>{"use strict";e2.exports=function(e3){if(typeof e3!="function")throw new TypeError(e3+" is not a function");return e3}},8948:(e2,t2,n2)=>{"use strict";var r2=n2(9340);e2.exports=function(e3){if(!r2(e3))throw new TypeError("Cannot use null or undefined");return e3}},3630:(e2,t2,n2)=>{"use strict";var r2=n2(8948),i=n2(3122);e2.exports=function(e3){return i(r2(e3))}},3122:(e2,t2,n2)=>{"use strict";var r2=n2(5865);e2.exports=function(e3){try{return e3&&r2(e3.toString)?e3.toString():String(e3)}catch{throw new TypeError("Passed argument cannot be stringifed")}}},779:(e2,t2,n2)=>{"use strict";var r2=n2(5865);e2.exports=function(e3){try{return e3&&r2(e3.toString)?e3.toString():String(e3)}catch{return"<Non-coercible to string value>"}}},5416:(e2,t2,n2)=>{"use strict";e2.exports=n2(6479)()?String.prototype.contains:n2(999)},6479:e2=>{"use strict";var t2="razdwatrzy";e2.exports=function(){return typeof t2.contains=="function"&&t2.contains("dwa")===!0&&t2.contains("foo")===!1}},999:e2=>{"use strict";var t2=String.prototype.indexOf;e2.exports=function(e3){return t2.call(this,e3,arguments[1])>-1}},9694:e2=>{"use strict";var t2=Object.prototype.toString,n2=t2.call("");e2.exports=function(e3){return typeof e3=="string"||e3&&typeof e3=="object"&&(e3 instanceof String||t2.call(e3)===n2)||!1}},5160:(e2,t2,n2)=>{"use strict";var r2=n2(779),i=/[\n\r\u2028\u2029]/g;e2.exports=function(e3){var t3=r2(e3);return t3.length>100&&(t3=t3.slice(0,99)+"\u2026"),t3.replace(i,function(e4){return JSON.stringify(e4).slice(1,-1)})}},4711:(e2,t2,n2)=>{"use strict";e2.exports=n2(7214)()?n2(5596).Symbol:n2(8076)},7214:(e2,t2,n2)=>{"use strict";var r2=n2(5596),i={object:!0,symbol:!0};e2.exports=function(){var e3,t3=r2.Symbol;if(typeof t3!="function")return!1;e3=t3("test symbol");try{String(e3)}catch{return!1}return!!i[typeof t3.iterator]&&!!i[typeof t3.toPrimitive]&&!!i[typeof t3.toStringTag]}},3912:e2=>{"use strict";e2.exports=function(e3){return!!e3&&(typeof e3=="symbol"||!!e3.constructor&&e3.constructor.name==="Symbol"&&e3[e3.constructor.toStringTag]==="Symbol")}},5926:(e2,t2,n2)=>{"use strict";var r2=n2(3706),i=Object.create,o=Object.defineProperty,a=Object.prototype,s=i(null);e2.exports=function(e3){for(var t3,n3,i2=0;s[e3+(i2||"")];)++i2;return s[e3+=i2||""]=!0,o(a,t3="@@"+e3,r2.gs(null,function(e4){n3||(n3=!0,o(this,t3,r2(e4)),n3=!1)})),t3}},8308:(e2,t2,n2)=>{"use strict";var r2=n2(3706),i=n2(5596).Symbol;e2.exports=function(e3){return Object.defineProperties(e3,{hasInstance:r2("",i&&i.hasInstance||e3("hasInstance")),isConcatSpreadable:r2("",i&&i.isConcatSpreadable||e3("isConcatSpreadable")),iterator:r2("",i&&i.iterator||e3("iterator")),match:r2("",i&&i.match||e3("match")),replace:r2("",i&&i.replace||e3("replace")),search:r2("",i&&i.search||e3("search")),species:r2("",i&&i.species||e3("species")),split:r2("",i&&i.split||e3("split")),toPrimitive:r2("",i&&i.toPrimitive||e3("toPrimitive")),toStringTag:r2("",i&&i.toStringTag||e3("toStringTag")),unscopables:r2("",i&&i.unscopables||e3("unscopables"))})}},8725:(e2,t2,n2)=>{"use strict";var r2=n2(3706),i=n2(7914),o=Object.create(null);e2.exports=function(e3){return Object.defineProperties(e3,{for:r2(function(t3){return o[t3]?o[t3]:o[t3]=e3(String(t3))}),keyFor:r2(function(e4){var t3;for(t3 in i(e4),o)if(o[t3]===e4)return t3})})}},8076:(e2,t2,n2)=>{"use strict";var r2,i,o,a=n2(3706),s=n2(7914),u=n2(5596).Symbol,c=n2(5926),l=n2(8308),f=n2(8725),p=Object.create,d=Object.defineProperties,h=Object.defineProperty;if(typeof u=="function")try{String(u()),o=!0}catch{}else u=null;i=function(e3){if(this instanceof i)throw new TypeError("Symbol is not a constructor");return r2(e3)},e2.exports=r2=function e3(t3){var n3;if(this instanceof e3)throw new TypeError("Symbol is not a constructor");return o?u(t3):(n3=p(i.prototype),t3=t3===void 0?"":String(t3),d(n3,{__description__:a("",t3),__name__:a("",c(t3))}))},l(r2),f(r2),d(i.prototype,{constructor:a(r2),toString:a("",function(){return this.__name__})}),d(r2.prototype,{toString:a(function(){return"Symbol ("+s(this).__description__+")"}),valueOf:a(function(){return s(this)})}),h(r2.prototype,r2.toPrimitive,a("",function(){var e3=s(this);return typeof e3=="symbol"?e3:e3.toString()})),h(r2.prototype,r2.toStringTag,a("c","Symbol")),h(i.prototype,r2.toStringTag,a("c",r2.prototype[r2.toStringTag])),h(i.prototype,r2.toPrimitive,a("c",r2.prototype[r2.toPrimitive]))},7914:(e2,t2,n2)=>{"use strict";var r2=n2(3912);e2.exports=function(e3){if(!r2(e3))throw new TypeError(e3+" is not a symbol");return e3}},4697:(e2,t2,n2)=>{"use strict";var r2,i,o,a,s,u,c,l=n2(3706),f=n2(529),p=Function.prototype.apply,d=Function.prototype.call,h=Object.create,v=Object.defineProperty,m=Object.defineProperties,y=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};i=function(e3,t3){var n3,i2;return f(t3),i2=this,r2.call(this,e3,n3=function(){o.call(i2,e3,n3),p.call(t3,this,arguments)}),n3.__eeOnceListener__=t3,this},s={on:r2=function(e3,t3){var n3;return f(t3),y.call(this,"__ee__")?n3=this.__ee__:(n3=g.value=h(null),v(this,"__ee__",g),g.value=null),n3[e3]?typeof n3[e3]=="object"?n3[e3].push(t3):n3[e3]=[n3[e3],t3]:n3[e3]=t3,this},once:i,off:o=function(e3,t3){var n3,r3,i2,o2;if(f(t3),!y.call(this,"__ee__"))return this;if(!(n3=this.__ee__)[e3])return this;if(typeof(r3=n3[e3])=="object")for(o2=0;i2=r3[o2];++o2)i2!==t3&&i2.__eeOnceListener__!==t3||(r3.length===2?n3[e3]=r3[o2?0:1]:r3.splice(o2,1));else r3!==t3&&r3.__eeOnceListener__!==t3||delete n3[e3];return this},emit:a=function(e3){var t3,n3,r3,i2,o2;if(y.call(this,"__ee__")&&(i2=this.__ee__[e3]))if(typeof i2=="object"){for(n3=arguments.length,o2=new Array(n3-1),t3=1;t3<n3;++t3)o2[t3-1]=arguments[t3];for(i2=i2.slice(),t3=0;r3=i2[t3];++t3)p.call(r3,this,o2)}else switch(arguments.length){case 1:d.call(i2,this);break;case 2:d.call(i2,this,arguments[1]);break;case 3:d.call(i2,this,arguments[1],arguments[2]);break;default:for(n3=arguments.length,o2=new Array(n3-1),t3=1;t3<n3;++t3)o2[t3-1]=arguments[t3];p.call(i2,this,o2)}}},u={on:l(r2),once:l(i),off:l(o),emit:l(a)},c=m({},u),e2.exports=t2=function(e3){return e3==null?h(c):m(Object(e3),u)},t2.methods=s},7551:(e2,t2,n2)=>{var r2,i=n2(8558);(function(o){var a=Object.hasOwnProperty,s=Array.isArray?Array.isArray:function(e3){return Object.prototype.toString.call(e3)==="[object Array]"},u=typeof i=="object"&&typeof i.nextTick=="function",c=typeof Symbol=="function",l=typeof Reflect=="object",f=typeof setImmediate=="function"?setImmediate:setTimeout,p=c?l&&typeof Reflect.ownKeys=="function"?Reflect.ownKeys:function(e3){var t3=Object.getOwnPropertyNames(e3);return t3.push.apply(t3,Object.getOwnPropertySymbols(e3)),t3}:Object.keys;function d(){this._events={},this._conf&&h.call(this,this._conf)}function h(e3){e3&&(this._conf=e3,e3.delimiter&&(this.delimiter=e3.delimiter),e3.maxListeners!==o&&(this._maxListeners=e3.maxListeners),e3.wildcard&&(this.wildcard=e3.wildcard),e3.newListener&&(this._newListener=e3.newListener),e3.removeListener&&(this._removeListener=e3.removeListener),e3.verboseMemoryLeak&&(this.verboseMemoryLeak=e3.verboseMemoryLeak),e3.ignoreErrors&&(this.ignoreErrors=e3.ignoreErrors),this.wildcard&&(this.listenerTree={}))}function v(e3,t3){var n3="(node) warning: possible EventEmitter memory leak detected. "+e3+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(n3+=" Event name: "+t3+"."),i!==void 0&&i.emitWarning){var r3=new Error(n3);r3.name="MaxListenersExceededWarning",r3.emitter=this,r3.count=e3,i.emitWarning(r3)}else console.error(n3),console.trace&&console.trace()}var m=function(e3,t3,n3){var r3=arguments.length;switch(r3){case 0:return[];case 1:return[e3];case 2:return[e3,t3];case 3:return[e3,t3,n3];default:for(var i2=new Array(r3);r3--;)i2[r3]=arguments[r3];return i2}};function y(e3,t3){for(var n3={},r3=e3.length,i2=t3?value.length:0,a2=0;a2<r3;a2++)n3[e3[a2]]=a2<i2?t3[a2]:o;return n3}function g(e3,t3,n3){var r3,i2;if(this._emitter=e3,this._target=t3,this._listeners={},this._listenersCount=0,(n3.on||n3.off)&&(r3=n3.on,i2=n3.off),t3.addEventListener?(r3=t3.addEventListener,i2=t3.removeEventListener):t3.addListener?(r3=t3.addListener,i2=t3.removeListener):t3.on&&(r3=t3.on,i2=t3.off),!r3&&!i2)throw Error("target does not implement any known event API");if(typeof r3!="function")throw TypeError("on method must be a function");if(typeof i2!="function")throw TypeError("off method must be a function");this._on=r3,this._off=i2;var o2=e3._observers;o2?o2.push(this):e3._observers=[this]}function b(e3,t3,n3,r3){var i2=Object.assign({},t3);if(!e3)return i2;if(typeof e3!="object")throw TypeError("options must be an object");var s2,u2,c2,l2=Object.keys(e3),f2=l2.length;function p2(e4){throw Error('Invalid "'+s2+'" option value'+(e4?". Reason: "+e4:""))}for(var d2=0;d2<f2;d2++){if(s2=l2[d2],!r3&&!a.call(t3,s2))throw Error('Unknown "'+s2+'" option');(u2=e3[s2])!==o&&(c2=n3[s2],i2[s2]=c2?c2(u2,p2):u2)}return i2}function _(e3,t3){return typeof e3=="function"&&e3.hasOwnProperty("prototype")||t3("value must be a constructor"),e3}function E(e3){var t3="value must be type of "+e3.join("|"),n3=e3.length,r3=e3[0],i2=e3[1];return n3===1?function(e4,n4){if(typeof e4===r3)return e4;n4(t3)}:n3===2?function(e4,n4){var o2=typeof e4;if(o2===r3||o2===i2)return e4;n4(t3)}:function(r4,i3){for(var o2=typeof r4,a2=n3;a2-- >0;)if(o2===e3[a2])return r4;i3(t3)}}Object.assign(g.prototype,{subscribe:function(e3,t3,n3){var r3=this,i2=this._target,o2=this._emitter,a2=this._listeners,s2=function(){var r4=m.apply(null,arguments),a3={data:r4,name:t3,original:e3};n3?n3.call(i2,a3)!==!1&&o2.emit.apply(o2,[a3.name].concat(r4)):o2.emit.apply(o2,[t3].concat(r4))};if(a2[e3])throw Error("Event '"+e3+"' is already listening");this._listenersCount++,o2._newListener&&o2._removeListener&&!r3._onNewListener?(this._onNewListener=function(n4){n4===t3&&a2[e3]===null&&(a2[e3]=s2,r3._on.call(i2,e3,s2))},o2.on("newListener",this._onNewListener),this._onRemoveListener=function(n4){n4===t3&&!o2.hasListeners(n4)&&a2[e3]&&(a2[e3]=null,r3._off.call(i2,e3,s2))},a2[e3]=null,o2.on("removeListener",this._onRemoveListener)):(a2[e3]=s2,r3._on.call(i2,e3,s2))},unsubscribe:function(e3){var t3,n3,r3,i2=this,o2=this._listeners,a2=this._emitter,s2=this._off,u2=this._target;if(e3&&typeof e3!="string")throw TypeError("event must be a string");function c2(){i2._onNewListener&&(a2.off("newListener",i2._onNewListener),a2.off("removeListener",i2._onRemoveListener),i2._onNewListener=null,i2._onRemoveListener=null);var e4=N.call(a2,i2);a2._observers.splice(e4,1)}if(e3){if(!(t3=o2[e3]))return;s2.call(u2,e3,t3),delete o2[e3],--this._listenersCount||c2()}else{for(r3=(n3=p(o2)).length;r3-- >0;)e3=n3[r3],s2.call(u2,e3,o2[e3]);this._listeners={},this._listenersCount=0,c2()}}});var w=E(["function"]),O=E(["object","function"]);function T(e3,t3,n3){var r3,i2,o2,a2=0,s2=new e3(function(u2,c2,l2){function f2(){i2&&(i2=null),a2&&(clearTimeout(a2),a2=0)}n3=b(n3,{timeout:0,overload:!1},{timeout:function(e4,t4){return(typeof(e4*=1)!="number"||e4<0||!Number.isFinite(e4))&&t4("timeout must be a positive number"),e4}}),r3=!n3.overload&&typeof e3.prototype.cancel=="function"&&typeof l2=="function";var p2=function(e4){f2(),u2(e4)},d2=function(e4){f2(),c2(e4)};r3?t3(p2,d2,l2):(i2=[function(e4){d2(e4||Error("canceled"))}],t3(p2,d2,function(e4){if(o2)throw Error("Unable to subscribe on cancel event asynchronously");if(typeof e4!="function")throw TypeError("onCancel callback must be a function");i2.push(e4)}),o2=!0),n3.timeout>0&&(a2=setTimeout(function(){var e4=Error("timeout");e4.code="ETIMEDOUT",a2=0,s2.cancel(e4),c2(e4)},n3.timeout))});return r3||(s2.cancel=function(e4){if(i2){for(var t4=i2.length,n4=1;n4<t4;n4++)i2[n4](e4);i2[0](e4),i2=null}}),s2}function N(e3){var t3=this._observers;if(!t3)return-1;for(var n3=t3.length,r3=0;r3<n3;r3++)if(t3[r3]._target===e3)return r3;return-1}function I(e3,t3,n3,r3,i2){if(!n3)return null;if(r3===0){var o2=typeof t3;if(o2==="string"){var a2,s2,u2=0,c2=0,l2=this.delimiter,f2=l2.length;if((s2=t3.indexOf(l2))!==-1){a2=new Array(5);do a2[u2++]=t3.slice(c2,s2),c2=s2+f2;while((s2=t3.indexOf(l2,c2))!==-1);a2[u2++]=t3.slice(c2),t3=a2,i2=u2}else t3=[t3],i2=1}else o2==="object"?i2=t3.length:(t3=[t3],i2=1)}var d2,h2,v2,m2,y2,g2,b2,_2=null,E2=t3[r3],w2=t3[r3+1];if(r3===i2&&n3._listeners)return typeof n3._listeners=="function"?(e3&&e3.push(n3._listeners),[n3]):(e3&&e3.push.apply(e3,n3._listeners),[n3]);if(E2==="*"){for(s2=(g2=p(n3)).length;s2-- >0;)(d2=g2[s2])!=="_listeners"&&(b2=I(e3,t3,n3[d2],r3+1,i2))&&(_2?_2.push.apply(_2,b2):_2=b2);return _2}if(E2==="**"){for((y2=r3+1===i2||r3+2===i2&&w2==="*")&&n3._listeners&&(_2=I(e3,t3,n3,i2,i2)),s2=(g2=p(n3)).length;s2-- >0;)(d2=g2[s2])!=="_listeners"&&(d2==="*"||d2==="**"?(n3[d2]._listeners&&!y2&&(b2=I(e3,t3,n3[d2],i2,i2))&&(_2?_2.push.apply(_2,b2):_2=b2),b2=I(e3,t3,n3[d2],r3,i2)):b2=I(e3,t3,n3[d2],d2===w2?r3+2:r3,i2),b2&&(_2?_2.push.apply(_2,b2):_2=b2));return _2}if(n3[E2]&&(_2=I(e3,t3,n3[E2],r3+1,i2)),(h2=n3["*"])&&I(e3,t3,h2,r3+1,i2),v2=n3["**"])if(r3<i2)for(v2._listeners&&I(e3,t3,v2,i2,i2),s2=(g2=p(v2)).length;s2-- >0;)(d2=g2[s2])!=="_listeners"&&(d2===w2?I(e3,t3,v2[d2],r3+2,i2):d2===E2?I(e3,t3,v2[d2],r3+1,i2):((m2={})[d2]=v2[d2],I(e3,t3,{"**":m2},r3+1,i2)));else v2._listeners?I(e3,t3,v2,i2,i2):v2["*"]&&v2["*"]._listeners&&I(e3,t3,v2["*"],i2,i2);return _2}function S(e3,t3,n3){var r3,i2,o2=0,a2=0,s2=this.delimiter,u2=s2.length;if(typeof e3=="string")if((r3=e3.indexOf(s2))!==-1){i2=new Array(5);do i2[o2++]=e3.slice(a2,r3),a2=r3+u2;while((r3=e3.indexOf(s2,a2))!==-1);i2[o2++]=e3.slice(a2)}else i2=[e3],o2=1;else i2=e3,o2=e3.length;if(o2>1){for(r3=0;r3+1<o2;r3++)if(i2[r3]==="**"&&i2[r3+1]==="**")return}var c2,l2=this.listenerTree;for(r3=0;r3<o2;r3++)if(l2=l2[c2=i2[r3]]||(l2[c2]={}),r3===o2-1)return l2._listeners?(typeof l2._listeners=="function"&&(l2._listeners=[l2._listeners]),n3?l2._listeners.unshift(t3):l2._listeners.push(t3),!l2._listeners.warned&&this._maxListeners>0&&l2._listeners.length>this._maxListeners&&(l2._listeners.warned=!0,v.call(this,l2._listeners.length,c2))):l2._listeners=t3,!0;return!0}function x(e3,t3,n3,r3){for(var i2,o2,a2,s2,u2=p(e3),c2=u2.length,l2=e3._listeners;c2-- >0;)i2=e3[o2=u2[c2]],a2=o2==="_listeners"?n3:n3?n3.concat(o2):[o2],s2=r3||typeof o2=="symbol",l2&&t3.push(s2?a2:a2.join(this.delimiter)),typeof i2=="object"&&x.call(this,i2,t3,a2,s2);return t3}function A(e3){for(var t3,n3,r3,i2=p(e3),o2=i2.length;o2-- >0;)(t3=e3[n3=i2[o2]])&&(r3=!0,n3==="_listeners"||A(t3)||delete e3[n3]);return r3}function j(e3,t3,n3){this.emitter=e3,this.event=t3,this.listener=n3}function R(e3,t3,n3){if(n3===!0)a2=!0;else if(n3===!1)r3=!0;else{if(!n3||typeof n3!="object")throw TypeError("options should be an object or true");var r3=n3.async,a2=n3.promisify,s2=n3.nextTick,c2=n3.objectify}if(r3||s2||a2){var l2=t3,p2=t3._origin||t3;if(s2&&!u)throw Error("process.nextTick is not supported");a2===o&&(a2=t3.constructor.name==="AsyncFunction"),t3=function(){var e4=arguments,t4=this,n4=this.event;return a2?s2?Promise.resolve():new Promise(function(e5){f(e5)}).then(function(){return t4.event=n4,l2.apply(t4,e4)}):(s2?i.nextTick:f)(function(){t4.event=n4,l2.apply(t4,e4)})},t3._async=!0,t3._origin=p2}return[t3,c2?new j(this,e3,t3):this]}function P(e3){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,h.call(this,e3)}j.prototype.off=function(){return this.emitter.off(this.event,this.listener),this},P.EventEmitter2=P,P.prototype.listenTo=function(e3,t3,n3){if(typeof e3!="object")throw TypeError("target musts be an object");var r3=this;function i2(t4){if(typeof t4!="object")throw TypeError("events must be an object");var i3,o2=n3.reducers,a2=N.call(r3,e3);i3=a2===-1?new g(r3,e3,n3):r3._observers[a2];for(var s2,u2=p(t4),c2=u2.length,l2=typeof o2=="function",f2=0;f2<c2;f2++)s2=u2[f2],i3.subscribe(s2,t4[s2]||s2,l2?o2:o2&&o2[s2])}return n3=b(n3,{on:o,off:o,reducers:o},{on:w,off:w,reducers:O}),s(t3)?i2(y(t3)):i2(typeof t3=="string"?y(t3.split(/\s+/)):t3),this},P.prototype.stopListeningTo=function(e3,t3){var n3=this._observers;if(!n3)return!1;var r3,i2=n3.length,o2=!1;if(e3&&typeof e3!="object")throw TypeError("target should be an object");for(;i2-- >0;)r3=n3[i2],e3&&r3._target!==e3||(r3.unsubscribe(t3),o2=!0);return o2},P.prototype.delimiter=".",P.prototype.setMaxListeners=function(e3){e3!==o&&(this._maxListeners=e3,this._conf||(this._conf={}),this._conf.maxListeners=e3)},P.prototype.getMaxListeners=function(){return this._maxListeners},P.prototype.event="",P.prototype.once=function(e3,t3,n3){return this._once(e3,t3,!1,n3)},P.prototype.prependOnceListener=function(e3,t3,n3){return this._once(e3,t3,!0,n3)},P.prototype._once=function(e3,t3,n3,r3){return this._many(e3,1,t3,n3,r3)},P.prototype.many=function(e3,t3,n3,r3){return this._many(e3,t3,n3,!1,r3)},P.prototype.prependMany=function(e3,t3,n3,r3){return this._many(e3,t3,n3,!0,r3)},P.prototype._many=function(e3,t3,n3,r3,i2){var o2=this;if(typeof n3!="function")throw new Error("many only accepts instances of Function");function a2(){return--t3==0&&o2.off(e3,a2),n3.apply(this,arguments)}return a2._origin=n3,this._on(e3,a2,r3,i2)},P.prototype.emit=function(){if(!this._events&&!this._all)return!1;this._events||d.call(this);var e3,t3,n3,r3,i2,o2,a2=arguments[0],s2=this.wildcard;if(a2==="newListener"&&!this._newListener&&!this._events.newListener)return!1;if(s2&&(e3=a2,a2!=="newListener"&&a2!=="removeListener"&&typeof a2=="object")){if(n3=a2.length,c){for(r3=0;r3<n3;r3++)if(typeof a2[r3]=="symbol"){o2=!0;break}}o2||(a2=a2.join(this.delimiter))}var u2,l2=arguments.length;if(this._all&&this._all.length)for(r3=0,n3=(u2=this._all.slice()).length;r3<n3;r3++)switch(this.event=a2,l2){case 1:u2[r3].call(this,a2);break;case 2:u2[r3].call(this,a2,arguments[1]);break;case 3:u2[r3].call(this,a2,arguments[1],arguments[2]);break;default:u2[r3].apply(this,arguments)}if(s2)u2=[],I.call(this,u2,e3,this.listenerTree,0,n3);else{if(typeof(u2=this._events[a2])=="function"){switch(this.event=a2,l2){case 1:u2.call(this);break;case 2:u2.call(this,arguments[1]);break;case 3:u2.call(this,arguments[1],arguments[2]);break;default:for(t3=new Array(l2-1),i2=1;i2<l2;i2++)t3[i2-1]=arguments[i2];u2.apply(this,t3)}return!0}u2&&(u2=u2.slice())}if(u2&&u2.length){if(l2>3)for(t3=new Array(l2-1),i2=1;i2<l2;i2++)t3[i2-1]=arguments[i2];for(r3=0,n3=u2.length;r3<n3;r3++)switch(this.event=a2,l2){case 1:u2[r3].call(this);break;case 2:u2[r3].call(this,arguments[1]);break;case 3:u2[r3].call(this,arguments[1],arguments[2]);break;default:u2[r3].apply(this,t3)}return!0}if(!this.ignoreErrors&&!this._all&&a2==="error")throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");return!!this._all},P.prototype.emitAsync=function(){if(!this._events&&!this._all)return!1;this._events||d.call(this);var e3,t3,n3,r3,i2,o2,a2=arguments[0],s2=this.wildcard;if(a2==="newListener"&&!this._newListener&&!this._events.newListener)return Promise.resolve([!1]);if(s2&&(e3=a2,a2!=="newListener"&&a2!=="removeListener"&&typeof a2=="object")){if(r3=a2.length,c){for(i2=0;i2<r3;i2++)if(typeof a2[i2]=="symbol"){t3=!0;break}}t3||(a2=a2.join(this.delimiter))}var u2,l2=[],f2=arguments.length;if(this._all)for(i2=0,r3=this._all.length;i2<r3;i2++)switch(this.event=a2,f2){case 1:l2.push(this._all[i2].call(this,a2));break;case 2:l2.push(this._all[i2].call(this,a2,arguments[1]));break;case 3:l2.push(this._all[i2].call(this,a2,arguments[1],arguments[2]));break;default:l2.push(this._all[i2].apply(this,arguments))}if(s2?(u2=[],I.call(this,u2,e3,this.listenerTree,0)):u2=this._events[a2],typeof u2=="function")switch(this.event=a2,f2){case 1:l2.push(u2.call(this));break;case 2:l2.push(u2.call(this,arguments[1]));break;case 3:l2.push(u2.call(this,arguments[1],arguments[2]));break;default:for(n3=new Array(f2-1),o2=1;o2<f2;o2++)n3[o2-1]=arguments[o2];l2.push(u2.apply(this,n3))}else if(u2&&u2.length){if(u2=u2.slice(),f2>3)for(n3=new Array(f2-1),o2=1;o2<f2;o2++)n3[o2-1]=arguments[o2];for(i2=0,r3=u2.length;i2<r3;i2++)switch(this.event=a2,f2){case 1:l2.push(u2[i2].call(this));break;case 2:l2.push(u2[i2].call(this,arguments[1]));break;case 3:l2.push(u2[i2].call(this,arguments[1],arguments[2]));break;default:l2.push(u2[i2].apply(this,n3))}}else if(!this.ignoreErrors&&!this._all&&a2==="error")return arguments[1]instanceof Error?Promise.reject(arguments[1]):Promise.reject("Uncaught, unspecified 'error' event.");return Promise.all(l2)},P.prototype.on=function(e3,t3,n3){return this._on(e3,t3,!1,n3)},P.prototype.prependListener=function(e3,t3,n3){return this._on(e3,t3,!0,n3)},P.prototype.onAny=function(e3){return this._onAny(e3,!1)},P.prototype.prependAny=function(e3){return this._onAny(e3,!0)},P.prototype.addListener=P.prototype.on,P.prototype._onAny=function(e3,t3){if(typeof e3!="function")throw new Error("onAny only accepts instances of Function");return this._all||(this._all=[]),t3?this._all.unshift(e3):this._all.push(e3),this},P.prototype._on=function(e3,t3,n3,r3){if(typeof e3=="function")return this._onAny(e3,t3),this;if(typeof t3!="function")throw new Error("on only accepts instances of Function");this._events||d.call(this);var i2,a2=this;return r3!==o&&(t3=(i2=R.call(this,e3,t3,r3))[0],a2=i2[1]),this._newListener&&this.emit("newListener",e3,t3),this.wildcard?(S.call(this,e3,t3,n3),a2):(this._events[e3]?(typeof this._events[e3]=="function"&&(this._events[e3]=[this._events[e3]]),n3?this._events[e3].unshift(t3):this._events[e3].push(t3),!this._events[e3].warned&&this._maxListeners>0&&this._events[e3].length>this._maxListeners&&(this._events[e3].warned=!0,v.call(this,this._events[e3].length,e3))):this._events[e3]=t3,a2)},P.prototype.off=function(e3,t3){if(typeof t3!="function")throw new Error("removeListener only takes instances of Function");var n3,r3=[];if(this.wildcard){var i2=typeof e3=="string"?e3.split(this.delimiter):e3.slice();if(!(r3=I.call(this,null,i2,this.listenerTree,0)))return this}else{if(!this._events[e3])return this;n3=this._events[e3],r3.push({_listeners:n3})}for(var o2=0;o2<r3.length;o2++){var a2=r3[o2];if(n3=a2._listeners,s(n3)){for(var u2=-1,c2=0,l2=n3.length;c2<l2;c2++)if(n3[c2]===t3||n3[c2].listener&&n3[c2].listener===t3||n3[c2]._origin&&n3[c2]._origin===t3){u2=c2;break}if(u2<0)continue;return this.wildcard?a2._listeners.splice(u2,1):this._events[e3].splice(u2,1),n3.length===0&&(this.wildcard?delete a2._listeners:delete this._events[e3]),this._removeListener&&this.emit("removeListener",e3,t3),this}(n3===t3||n3.listener&&n3.listener===t3||n3._origin&&n3._origin===t3)&&(this.wildcard?delete a2._listeners:delete this._events[e3],this._removeListener&&this.emit("removeListener",e3,t3))}return this.listenerTree&&A(this.listenerTree),this},P.prototype.offAny=function(e3){var t3,n3=0,r3=0;if(e3&&this._all&&this._all.length>0){for(n3=0,r3=(t3=this._all).length;n3<r3;n3++)if(e3===t3[n3])return t3.splice(n3,1),this._removeListener&&this.emit("removeListenerAny",e3),this}else{if(t3=this._all,this._removeListener)for(n3=0,r3=t3.length;n3<r3;n3++)this.emit("removeListenerAny",t3[n3]);this._all=[]}return this},P.prototype.removeListener=P.prototype.off,P.prototype.removeAllListeners=function(e3){if(e3===o)return!this._events||d.call(this),this;if(this.wildcard){var t3,n3=I.call(this,null,e3,this.listenerTree,0);if(!n3)return this;for(t3=0;t3<n3.length;t3++)n3[t3]._listeners=null;this.listenerTree&&A(this.listenerTree)}else this._events&&(this._events[e3]=null);return this},P.prototype.listeners=function(e3){var t3,n3,r3,i2,a2,s2=this._events;if(e3===o){if(this.wildcard)throw Error("event name required for wildcard emitter");if(!s2)return[];for(i2=(t3=p(s2)).length,r3=[];i2-- >0;)typeof(n3=s2[t3[i2]])=="function"?r3.push(n3):r3.push.apply(r3,n3);return r3}if(this.wildcard){if(!(a2=this.listenerTree))return[];var u2=[],c2=typeof e3=="string"?e3.split(this.delimiter):e3.slice();return I.call(this,u2,c2,a2,0),u2}return s2&&(n3=s2[e3])?typeof n3=="function"?[n3]:n3:[]},P.prototype.eventNames=function(e3){var t3=this._events;return this.wildcard?x.call(this,this.listenerTree,[],null,e3):t3?p(t3):[]},P.prototype.listenerCount=function(e3){return this.listeners(e3).length},P.prototype.hasListeners=function(e3){if(this.wildcard){var t3=[],n3=typeof e3=="string"?e3.split(this.delimiter):e3.slice();return I.call(this,t3,n3,this.listenerTree,0),t3.length>0}var r3=this._events,i2=this._all;return!!(i2&&i2.length||r3&&(e3===o?p(r3).length:r3[e3]))},P.prototype.listenersAny=function(){return this._all?this._all:[]},P.prototype.waitFor=function(e3,t3){var n3=this,r3=typeof t3;return r3==="number"?t3={timeout:t3}:r3==="function"&&(t3={filter:t3}),T((t3=b(t3,{timeout:0,filter:o,handleError:!1,Promise,overload:!1},{filter:w,Promise:_})).Promise,function(r4,i2,o2){function a2(){var o3=t3.filter;if(!o3||o3.apply(n3,arguments))if(n3.off(e3,a2),t3.handleError){var s2=arguments[0];s2?i2(s2):r4(m.apply(null,arguments).slice(1))}else r4(m.apply(null,arguments))}o2(function(){n3.off(e3,a2)}),n3._on(e3,a2,!1)},{timeout:t3.timeout,overload:t3.overload})};var D=P.prototype;Object.defineProperties(P,{defaultMaxListeners:{get:function(){return D._maxListeners},set:function(e3){if(typeof e3!="number"||e3<0||Number.isNaN(e3))throw TypeError("n must be a non-negative number");D._maxListeners=e3},enumerable:!0},once:{value:function(e3,t3,n3){return T((n3=b(n3,{Promise,timeout:0,overload:!1},{Promise:_})).Promise,function(n4,r3,i2){var o2;if(typeof e3.addEventListener=="function")return o2=function(){n4(m.apply(null,arguments))},i2(function(){e3.removeEventListener(t3,o2)}),void e3.addEventListener(t3,o2,{once:!0});var a2,s2=function(){a2&&e3.removeListener("error",a2),n4(m.apply(null,arguments))};t3!=="error"&&(a2=function(n5){e3.removeListener(t3,s2),r3(n5)},e3.once("error",a2)),i2(function(){a2&&e3.removeListener("error",a2),e3.removeListener(t3,s2)}),e3.once(t3,s2)},{timeout:n3.timeout,overload:n3.overload})},writable:!0,configurable:!0}}),Object.defineProperties(D,{_maxListeners:{value:10,writable:!0,configurable:!0},_observers:{value:null,writable:!0,configurable:!0}}),(r2=function(){return P}.call(t2,n2,t2,e2))===o||(e2.exports=r2)})()},7760:e2=>{var t2=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};e2.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return t2()}try{return __global__||t2()}finally{delete Object.prototype.__global__}}()},5596:(e2,t2,n2)=>{"use strict";e2.exports=n2(4851)()?globalThis:n2(7760)},4851:e2=>{"use strict";e2.exports=function(){return typeof globalThis=="object"&&!!globalThis&&globalThis.Array===Array}},6901:e2=>{"use strict";e2.exports=function(e3,t2){for(var n2={},r2=Object.keys(e3),i=Array.isArray(t2),o=0;o<r2.length;o++){var a=r2[o],s=e3[a];(i?t2.indexOf(a)!==-1:t2(a,s,e3))&&(n2[a]=s)}return n2}},5692:function(e2){e2.exports=function(){function e3(){return(e3=Object.assign?Object.assign.bind():function(e4){for(var t3=1;t3<arguments.length;t3++){var n2=arguments[t3];for(var r2 in n2)({}).hasOwnProperty.call(n2,r2)&&(e4[r2]=n2[r2])}return e4}).apply(null,arguments)}var t2={ignoreId:!1};return function(n2,r2){var i=e3({},t2,r2),o=n2;if(o&&o.id&&!i.ignoreId)return'//*[@id="'+o.id+'"]';for(var a=[];o&&(Node.ELEMENT_NODE===o.nodeType||Node.TEXT_NODE===o.nodeType);){for(var s=0,u=!1,c=o.previousSibling;c;)c.nodeType!==Node.DOCUMENT_TYPE_NODE&&c.nodeName===o.nodeName&&s++,c=c.previousSibling;for(c=o.nextSibling;c;){if(c.nodeName===o.nodeName){u=!0;break}c=c.nextSibling}var l=s||u?"["+(s+1)+"]":"",f=o.nodeType!=Node.TEXT_NODE?(o.prefix?o.prefix+":":"")+o.localName+l:"text()"+(l||"[1]");a.push(f),o=o.parentNode}return a.length?"/"+a.reverse().join("/"):""}}()},8539:e2=>{"use strict";e2.exports=function(e3){return typeof e3=="object"?e3===null:typeof e3!="function"}},5068:e2=>{function t2(e3){return!!e3&&(typeof e3=="object"||typeof e3=="function")&&typeof e3.then=="function"}e2.exports=t2,e2.exports.default=t2},763:e2=>{e2.exports=function(e3){for(var t2=-1,n2=e3?e3.length:0,r2=0,i=[];++t2<n2;){var o=e3[t2];o&&(i[r2++]=o)}return i}},7065:(e2,t2,n2)=>{var r2=typeof n2.g=="object"&&n2.g&&n2.g.Object===Object&&n2.g,i=typeof self=="object"&&self&&self.Object===Object&&self,o=r2||i||Function("return this")();function a(e3,t3){for(var n3=-1,r3=t3.length,i2=e3.length;++n3<r3;)e3[i2+n3]=t3[n3];return e3}var s=Object.prototype,u=s.hasOwnProperty,c=s.toString,l=o.Symbol,f=s.propertyIsEnumerable,p=l?l.isConcatSpreadable:void 0;function d(e3,t3,n3,r3,i2){var o2=-1,s2=e3.length;for(n3||(n3=h),i2||(i2=[]);++o2<s2;){var u2=e3[o2];t3>0&&n3(u2)?t3>1?d(u2,t3-1,n3,r3,i2):a(i2,u2):r3||(i2[i2.length]=u2)}return i2}function h(e3){return v(e3)||function(e4){return function(e5){return function(e6){return!!e6&&typeof e6=="object"}(e5)&&function(e6){return e6!=null&&function(e7){return typeof e7=="number"&&e7>-1&&e7%1==0&&e7<=9007199254740991}(e6.length)&&!function(e7){var t3=function(e8){var t4=typeof e8;return!!e8&&(t4=="object"||t4=="function")}(e7)?c.call(e7):"";return t3=="[object Function]"||t3=="[object GeneratorFunction]"}(e6)}(e5)}(e4)&&u.call(e4,"callee")&&(!f.call(e4,"callee")||c.call(e4)=="[object Arguments]")}(e3)||!!(p&&e3&&e3[p])}var v=Array.isArray;e2.exports=function(e3){return e3&&e3.length?d(e3,1):[]}},994:e2=>{e2.exports=function(e3){return e3&&e3.length?e3[0]:void 0}},2935:function(e2,t2,n2){var r2;e2=n2.nmd(e2),function(){var i,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",u=32,c=128,l=1/0,f=9007199254740991,p=NaN,d=4294967295,h=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",u],["partialRight",64],["rearg",256]],v="[object Arguments]",m="[object Array]",y="[object Boolean]",g="[object Date]",b="[object Error]",_="[object Function]",E="[object GeneratorFunction]",w="[object Map]",O="[object Number]",T="[object Object]",N="[object Promise]",I="[object RegExp]",S="[object Set]",x="[object String]",A="[object Symbol]",j="[object WeakMap]",R="[object ArrayBuffer]",P="[object DataView]",D="[object Float32Array]",k="[object Float64Array]",M="[object Int8Array]",L="[object Int16Array]",C="[object Int32Array]",F="[object Uint8Array]",V="[object Uint8ClampedArray]",U="[object Uint16Array]",$="[object Uint32Array]",B=/\b__p \+= '';/g,H=/\b(__p \+=) '' \+/g,G=/(__e\(.*?\)|\b__t\)) \+\n'';/g,q=/&(?:amp|lt|gt|quot|#39);/g,W=/[&<>"']/g,z=RegExp(q.source),Y=RegExp(W.source),J=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,K=/<%=([\s\S]+?)%>/g,X=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Z=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),re=/^\s+/,ie=/\s/,oe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ae=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,le=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pe=/\w*$/,de=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,me=/^0o[0-7]+$/i,ye=/^(?:0|[1-9]\d*)$/,ge=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,be=/($^)/,_e=/['\n\r\u2028\u2029\\]/g,Ee="\\ud800-\\udfff",we="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Oe="\\u2700-\\u27bf",Te="a-z\\xdf-\\xf6\\xf8-\\xff",Ne="A-Z\\xc0-\\xd6\\xd8-\\xde",Ie="\\ufe0e\\ufe0f",Se="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",xe="["+Ee+"]",Ae="["+Se+"]",je="["+we+"]",Re="\\d+",Pe="["+Oe+"]",De="["+Te+"]",ke="[^"+Ee+Se+Re+Oe+Te+Ne+"]",Me="\\ud83c[\\udffb-\\udfff]",Le="[^"+Ee+"]",Ce="(?:\\ud83c[\\udde6-\\uddff]){2}",Fe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ve="["+Ne+"]",Ue="\\u200d",$e="(?:"+De+"|"+ke+")",Be="(?:"+Ve+"|"+ke+")",He="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ge="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",qe="(?:"+je+"|"+Me+")?",We="["+Ie+"]?",ze=We+qe+"(?:"+Ue+"(?:"+[Le,Ce,Fe].join("|")+")"+We+qe+")*",Ye="(?:"+[Pe,Ce,Fe].join("|")+")"+ze,Je="(?:"+[Le+je+"?",je,Ce,Fe,xe].join("|")+")",Qe=RegExp("['\u2019]","g"),Ke=RegExp(je,"g"),Xe=RegExp(Me+"(?="+Me+")|"+Je+ze,"g"),Ze=RegExp([Ve+"?"+De+"+"+He+"(?="+[Ae,Ve,"$"].join("|")+")",Be+"+"+Ge+"(?="+[Ae,Ve+$e,"$"].join("|")+")",Ve+"?"+$e+"+"+He,Ve+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Re,Ye].join("|"),"g"),et=RegExp("["+Ue+Ee+we+Ie+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nt=["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"],rt=-1,it={};it[D]=it[k]=it[M]=it[L]=it[C]=it[F]=it[V]=it[U]=it[$]=!0,it[v]=it[m]=it[R]=it[y]=it[P]=it[g]=it[b]=it[_]=it[w]=it[O]=it[T]=it[I]=it[S]=it[x]=it[j]=!1;var ot={};ot[v]=ot[m]=ot[R]=ot[P]=ot[y]=ot[g]=ot[D]=ot[k]=ot[M]=ot[L]=ot[C]=ot[w]=ot[O]=ot[T]=ot[I]=ot[S]=ot[x]=ot[A]=ot[F]=ot[V]=ot[U]=ot[$]=!0,ot[b]=ot[_]=ot[j]=!1;var at={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},st=parseFloat,ut=parseInt,ct=typeof n2.g=="object"&&n2.g&&n2.g.Object===Object&&n2.g,lt=typeof self=="object"&&self&&self.Object===Object&&self,ft=ct||lt||Function("return this")(),pt=t2&&!t2.nodeType&&t2,dt=pt&&e2&&!e2.nodeType&&e2,ht=dt&&dt.exports===pt,vt=ht&&ct.process,mt=function(){try{return dt&&dt.require&&dt.require("util").types||vt&&vt.binding&&vt.binding("util")}catch{}}(),yt=mt&&mt.isArrayBuffer,gt=mt&&mt.isDate,bt=mt&&mt.isMap,_t=mt&&mt.isRegExp,Et=mt&&mt.isSet,wt=mt&&mt.isTypedArray;function Ot(e3,t3,n3){switch(n3.length){case 0:return e3.call(t3);case 1:return e3.call(t3,n3[0]);case 2:return e3.call(t3,n3[0],n3[1]);case 3:return e3.call(t3,n3[0],n3[1],n3[2])}return e3.apply(t3,n3)}function Tt(e3,t3,n3,r3){for(var i2=-1,o2=e3==null?0:e3.length;++i2<o2;){var a2=e3[i2];t3(r3,a2,n3(a2),e3)}return r3}function Nt(e3,t3){for(var n3=-1,r3=e3==null?0:e3.length;++n3<r3&&t3(e3[n3],n3,e3)!==!1;);return e3}function It(e3,t3){for(var n3=e3==null?0:e3.length;n3--&&t3(e3[n3],n3,e3)!==!1;);return e3}function St(e3,t3){for(var n3=-1,r3=e3==null?0:e3.length;++n3<r3;)if(!t3(e3[n3],n3,e3))return!1;return!0}function xt(e3,t3){for(var n3=-1,r3=e3==null?0:e3.length,i2=0,o2=[];++n3<r3;){var a2=e3[n3];t3(a2,n3,e3)&&(o2[i2++]=a2)}return o2}function At(e3,t3){return!(e3==null||!e3.length)&&Vt(e3,t3,0)>-1}function jt(e3,t3,n3){for(var r3=-1,i2=e3==null?0:e3.length;++r3<i2;)if(n3(t3,e3[r3]))return!0;return!1}function Rt(e3,t3){for(var n3=-1,r3=e3==null?0:e3.length,i2=Array(r3);++n3<r3;)i2[n3]=t3(e3[n3],n3,e3);return i2}function Pt(e3,t3){for(var n3=-1,r3=t3.length,i2=e3.length;++n3<r3;)e3[i2+n3]=t3[n3];return e3}function Dt(e3,t3,n3,r3){var i2=-1,o2=e3==null?0:e3.length;for(r3&&o2&&(n3=e3[++i2]);++i2<o2;)n3=t3(n3,e3[i2],i2,e3);return n3}function kt(e3,t3,n3,r3){var i2=e3==null?0:e3.length;for(r3&&i2&&(n3=e3[--i2]);i2--;)n3=t3(n3,e3[i2],i2,e3);return n3}function Mt(e3,t3){for(var n3=-1,r3=e3==null?0:e3.length;++n3<r3;)if(t3(e3[n3],n3,e3))return!0;return!1}var Lt=Ht("length");function Ct(e3,t3,n3){var r3;return n3(e3,function(e4,n4,i2){if(t3(e4,n4,i2))return r3=n4,!1}),r3}function Ft(e3,t3,n3,r3){for(var i2=e3.length,o2=n3+(r3?1:-1);r3?o2--:++o2<i2;)if(t3(e3[o2],o2,e3))return o2;return-1}function Vt(e3,t3,n3){return t3==t3?function(e4,t4,n4){for(var r3=n4-1,i2=e4.length;++r3<i2;)if(e4[r3]===t4)return r3;return-1}(e3,t3,n3):Ft(e3,$t,n3)}function Ut(e3,t3,n3,r3){for(var i2=n3-1,o2=e3.length;++i2<o2;)if(r3(e3[i2],t3))return i2;return-1}function $t(e3){return e3!=e3}function Bt(e3,t3){var n3=e3==null?0:e3.length;return n3?Wt(e3,t3)/n3:p}function Ht(e3){return function(t3){return t3==null?i:t3[e3]}}function Gt(e3){return function(t3){return e3==null?i:e3[t3]}}function qt(e3,t3,n3,r3,i2){return i2(e3,function(e4,i3,o2){n3=r3?(r3=!1,e4):t3(n3,e4,i3,o2)}),n3}function Wt(e3,t3){for(var n3,r3=-1,o2=e3.length;++r3<o2;){var a2=t3(e3[r3]);a2!==i&&(n3=n3===i?a2:n3+a2)}return n3}function zt(e3,t3){for(var n3=-1,r3=Array(e3);++n3<e3;)r3[n3]=t3(n3);return r3}function Yt(e3){return e3&&e3.slice(0,pn(e3)+1).replace(re,"")}function Jt(e3){return function(t3){return e3(t3)}}function Qt(e3,t3){return Rt(t3,function(t4){return e3[t4]})}function Kt(e3,t3){return e3.has(t3)}function Xt(e3,t3){for(var n3=-1,r3=e3.length;++n3<r3&&Vt(t3,e3[n3],0)>-1;);return n3}function Zt(e3,t3){for(var n3=e3.length;n3--&&Vt(t3,e3[n3],0)>-1;);return n3}var en=Gt({\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"}),tn=Gt({"&":"&","<":"<",">":">",'"':""","'":"'"});function nn(e3){return"\\"+at[e3]}function rn(e3){return et.test(e3)}function on(e3){var t3=-1,n3=Array(e3.size);return e3.forEach(function(e4,r3){n3[++t3]=[r3,e4]}),n3}function an(e3,t3){return function(n3){return e3(t3(n3))}}function sn(e3,t3){for(var n3=-1,r3=e3.length,i2=0,o2=[];++n3<r3;){var a2=e3[n3];a2!==t3&&a2!==s||(e3[n3]=s,o2[i2++]=n3)}return o2}function un(e3){var t3=-1,n3=Array(e3.size);return e3.forEach(function(e4){n3[++t3]=e4}),n3}function cn(e3){var t3=-1,n3=Array(e3.size);return e3.forEach(function(e4){n3[++t3]=[e4,e4]}),n3}function ln(e3){return rn(e3)?function(e4){for(var t3=Xe.lastIndex=0;Xe.test(e4);)++t3;return t3}(e3):Lt(e3)}function fn(e3){return rn(e3)?function(e4){return e4.match(Xe)||[]}(e3):function(e4){return e4.split("")}(e3)}function pn(e3){for(var t3=e3.length;t3--&&ie.test(e3.charAt(t3)););return t3}var dn=Gt({"&":"&","<":"<",">":">",""":'"',"'":"'"}),hn=function e3(t3){var n3,r3=(t3=t3==null?ft:hn.defaults(ft.Object(),t3,hn.pick(ft,nt))).Array,ie2=t3.Date,Ee2=t3.Error,we2=t3.Function,Oe2=t3.Math,Te2=t3.Object,Ne2=t3.RegExp,Ie2=t3.String,Se2=t3.TypeError,xe2=r3.prototype,Ae2=we2.prototype,je2=Te2.prototype,Re2=t3["__core-js_shared__"],Pe2=Ae2.toString,De2=je2.hasOwnProperty,ke2=0,Me2=(n3=/[^.]+$/.exec(Re2&&Re2.keys&&Re2.keys.IE_PROTO||""))?"Symbol(src)_1."+n3:"",Le2=je2.toString,Ce2=Pe2.call(Te2),Fe2=ft._,Ve2=Ne2("^"+Pe2.call(De2).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ue2=ht?t3.Buffer:i,$e2=t3.Symbol,Be2=t3.Uint8Array,He2=Ue2?Ue2.allocUnsafe:i,Ge2=an(Te2.getPrototypeOf,Te2),qe2=Te2.create,We2=je2.propertyIsEnumerable,ze2=xe2.splice,Ye2=$e2?$e2.isConcatSpreadable:i,Je2=$e2?$e2.iterator:i,Xe2=$e2?$e2.toStringTag:i,et2=function(){try{var e4=uo(Te2,"defineProperty");return e4({},"",{}),e4}catch{}}(),at2=t3.clearTimeout!==ft.clearTimeout&&t3.clearTimeout,ct2=ie2&&ie2.now!==ft.Date.now&&ie2.now,lt2=t3.setTimeout!==ft.setTimeout&&t3.setTimeout,pt2=Oe2.ceil,dt2=Oe2.floor,vt2=Te2.getOwnPropertySymbols,mt2=Ue2?Ue2.isBuffer:i,Lt2=t3.isFinite,Gt2=xe2.join,vn=an(Te2.keys,Te2),mn=Oe2.max,yn=Oe2.min,gn=ie2.now,bn=t3.parseInt,_n=Oe2.random,En=xe2.reverse,wn=uo(t3,"DataView"),On=uo(t3,"Map"),Tn=uo(t3,"Promise"),Nn=uo(t3,"Set"),In=uo(t3,"WeakMap"),Sn=uo(Te2,"create"),xn=In&&new In,An={},jn=Co(wn),Rn=Co(On),Pn=Co(Tn),Dn=Co(Nn),kn=Co(In),Mn=$e2?$e2.prototype:i,Ln=Mn?Mn.valueOf:i,Cn=Mn?Mn.toString:i;function Fn(e4){if(es(e4)&&!Ha(e4)&&!(e4 instanceof Bn)){if(e4 instanceof $n)return e4;if(De2.call(e4,"__wrapped__"))return Fo(e4)}return new $n(e4)}var Vn=function(){function e4(){}return function(t4){if(!Za(t4))return{};if(qe2)return qe2(t4);e4.prototype=t4;var n4=new e4;return e4.prototype=i,n4}}();function Un(){}function $n(e4,t4){this.__wrapped__=e4,this.__actions__=[],this.__chain__=!!t4,this.__index__=0,this.__values__=i}function Bn(e4){this.__wrapped__=e4,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=d,this.__views__=[]}function Hn(e4){var t4=-1,n4=e4==null?0:e4.length;for(this.clear();++t4<n4;){var r4=e4[t4];this.set(r4[0],r4[1])}}function Gn(e4){var t4=-1,n4=e4==null?0:e4.length;for(this.clear();++t4<n4;){var r4=e4[t4];this.set(r4[0],r4[1])}}function qn(e4){var t4=-1,n4=e4==null?0:e4.length;for(this.clear();++t4<n4;){var r4=e4[t4];this.set(r4[0],r4[1])}}function Wn(e4){var t4=-1,n4=e4==null?0:e4.length;for(this.__data__=new qn;++t4<n4;)this.add(e4[t4])}function zn(e4){var t4=this.__data__=new Gn(e4);this.size=t4.size}function Yn(e4,t4){var n4=Ha(e4),r4=!n4&&Ba(e4),i2=!n4&&!r4&&za(e4),o2=!n4&&!r4&&!i2&&us(e4),a2=n4||r4||i2||o2,s2=a2?zt(e4.length,Ie2):[],u2=s2.length;for(var c2 in e4)!t4&&!De2.call(e4,c2)||a2&&(c2=="length"||i2&&(c2=="offset"||c2=="parent")||o2&&(c2=="buffer"||c2=="byteLength"||c2=="byteOffset")||mo(c2,u2))||s2.push(c2);return s2}function Jn(e4){var t4=e4.length;return t4?e4[qr(0,t4-1)]:i}function Qn(e4,t4){return Po(Ii(e4),or(t4,0,e4.length))}function Kn(e4){return Po(Ii(e4))}function Xn(e4,t4,n4){(n4!==i&&!Va(e4[t4],n4)||n4===i&&!(t4 in e4))&&rr(e4,t4,n4)}function Zn(e4,t4,n4){var r4=e4[t4];De2.call(e4,t4)&&Va(r4,n4)&&(n4!==i||t4 in e4)||rr(e4,t4,n4)}function er(e4,t4){for(var n4=e4.length;n4--;)if(Va(e4[n4][0],t4))return n4;return-1}function tr(e4,t4,n4,r4){return lr(e4,function(e5,i2,o2){t4(r4,e5,n4(e5),o2)}),r4}function nr(e4,t4){return e4&&Si(t4,js(t4),e4)}function rr(e4,t4,n4){t4=="__proto__"&&et2?et2(e4,t4,{configurable:!0,enumerable:!0,value:n4,writable:!0}):e4[t4]=n4}function ir(e4,t4){for(var n4=-1,o2=t4.length,a2=r3(o2),s2=e4==null;++n4<o2;)a2[n4]=s2?i:Ns(e4,t4[n4]);return a2}function or(e4,t4,n4){return e4==e4&&(n4!==i&&(e4=e4<=n4?e4:n4),t4!==i&&(e4=e4>=t4?e4:t4)),e4}function ar(e4,t4,n4,r4,o2,a2){var s2,u2=1&t4,c2=2&t4,l2=4&t4;if(n4&&(s2=o2?n4(e4,r4,o2,a2):n4(e4)),s2!==i)return s2;if(!Za(e4))return e4;var f2=Ha(e4);if(f2){if(s2=function(e5){var t5=e5.length,n5=new e5.constructor(t5);return t5&&typeof e5[0]=="string"&&De2.call(e5,"index")&&(n5.index=e5.index,n5.input=e5.input),n5}(e4),!u2)return Ii(e4,s2)}else{var p2=fo(e4),d2=p2==_||p2==E;if(za(e4))return _i(e4,u2);if(p2==T||p2==v||d2&&!o2){if(s2=c2||d2?{}:ho(e4),!u2)return c2?function(e5,t5){return Si(e5,lo(e5),t5)}(e4,function(e5,t5){return e5&&Si(t5,Rs(t5),e5)}(s2,e4)):function(e5,t5){return Si(e5,co(e5),t5)}(e4,nr(s2,e4))}else{if(!ot[p2])return o2?e4:{};s2=function(e5,t5,n5){var r5,i2=e5.constructor;switch(t5){case R:return Ei(e5);case y:case g:return new i2(+e5);case P:return function(e6,t6){var n6=t6?Ei(e6.buffer):e6.buffer;return new e6.constructor(n6,e6.byteOffset,e6.byteLength)}(e5,n5);case D:case k:case M:case L:case C:case F:case V:case U:case $:return wi(e5,n5);case w:return new i2;case O:case x:return new i2(e5);case I:return function(e6){var t6=new e6.constructor(e6.source,pe.exec(e6));return t6.lastIndex=e6.lastIndex,t6}(e5);case S:return new i2;case A:return r5=e5,Ln?Te2(Ln.call(r5)):{}}}(e4,p2,u2)}}a2||(a2=new zn);var h2=a2.get(e4);if(h2)return h2;a2.set(e4,s2),os(e4)?e4.forEach(function(r5){s2.add(ar(r5,t4,n4,r5,e4,a2))}):ts(e4)&&e4.forEach(function(r5,i2){s2.set(i2,ar(r5,t4,n4,i2,e4,a2))});var m2=f2?i:(l2?c2?to:eo:c2?Rs:js)(e4);return Nt(m2||e4,function(r5,i2){m2&&(r5=e4[i2=r5]),Zn(s2,i2,ar(r5,t4,n4,i2,e4,a2))}),s2}function sr(e4,t4,n4){var r4=n4.length;if(e4==null)return!r4;for(e4=Te2(e4);r4--;){var o2=n4[r4],a2=t4[o2],s2=e4[o2];if(s2===i&&!(o2 in e4)||!a2(s2))return!1}return!0}function ur(e4,t4,n4){if(typeof e4!="function")throw new Se2(o);return xo(function(){e4.apply(i,n4)},t4)}function cr(e4,t4,n4,r4){var i2=-1,o2=At,a2=!0,s2=e4.length,u2=[],c2=t4.length;if(!s2)return u2;n4&&(t4=Rt(t4,Jt(n4))),r4?(o2=jt,a2=!1):t4.length>=200&&(o2=Kt,a2=!1,t4=new Wn(t4));e:for(;++i2<s2;){var l2=e4[i2],f2=n4==null?l2:n4(l2);if(l2=r4||l2!==0?l2:0,a2&&f2==f2){for(var p2=c2;p2--;)if(t4[p2]===f2)continue e;u2.push(l2)}else o2(t4,f2,r4)||u2.push(l2)}return u2}Fn.templateSettings={escape:J,evaluate:Q,interpolate:K,variable:"",imports:{_:Fn}},Fn.prototype=Un.prototype,Fn.prototype.constructor=Fn,$n.prototype=Vn(Un.prototype),$n.prototype.constructor=$n,Bn.prototype=Vn(Un.prototype),Bn.prototype.constructor=Bn,Hn.prototype.clear=function(){this.__data__=Sn?Sn(null):{},this.size=0},Hn.prototype.delete=function(e4){var t4=this.has(e4)&&delete this.__data__[e4];return this.size-=t4?1:0,t4},Hn.prototype.get=function(e4){var t4=this.__data__;if(Sn){var n4=t4[e4];return n4===a?i:n4}return De2.call(t4,e4)?t4[e4]:i},Hn.prototype.has=function(e4){var t4=this.__data__;return Sn?t4[e4]!==i:De2.call(t4,e4)},Hn.prototype.set=function(e4,t4){var n4=this.__data__;return this.size+=this.has(e4)?0:1,n4[e4]=Sn&&t4===i?a:t4,this},Gn.prototype.clear=function(){this.__data__=[],this.size=0},Gn.prototype.delete=function(e4){var t4=this.__data__,n4=er(t4,e4);return!(n4<0||(n4==t4.length-1?t4.pop():ze2.call(t4,n4,1),--this.size,0))},Gn.prototype.get=function(e4){var t4=this.__data__,n4=er(t4,e4);return n4<0?i:t4[n4][1]},Gn.prototype.has=function(e4){return er(this.__data__,e4)>-1},Gn.prototype.set=function(e4,t4){var n4=this.__data__,r4=er(n4,e4);return r4<0?(++this.size,n4.push([e4,t4])):n4[r4][1]=t4,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Hn,map:new(On||Gn),string:new Hn}},qn.prototype.delete=function(e4){var t4=ao(this,e4).delete(e4);return this.size-=t4?1:0,t4},qn.prototype.get=function(e4){return ao(this,e4).get(e4)},qn.prototype.has=function(e4){return ao(this,e4).has(e4)},qn.prototype.set=function(e4,t4){var n4=ao(this,e4),r4=n4.size;return n4.set(e4,t4),this.size+=n4.size==r4?0:1,this},Wn.prototype.add=Wn.prototype.push=function(e4){return this.__data__.set(e4,a),this},Wn.prototype.has=function(e4){return this.__data__.has(e4)},zn.prototype.clear=function(){this.__data__=new Gn,this.size=0},zn.prototype.delete=function(e4){var t4=this.__data__,n4=t4.delete(e4);return this.size=t4.size,n4},zn.prototype.get=function(e4){return this.__data__.get(e4)},zn.prototype.has=function(e4){return this.__data__.has(e4)},zn.prototype.set=function(e4,t4){var n4=this.__data__;if(n4 instanceof Gn){var r4=n4.__data__;if(!On||r4.length<199)return r4.push([e4,t4]),this.size=++n4.size,this;n4=this.__data__=new qn(r4)}return n4.set(e4,t4),this.size=n4.size,this};var lr=ji(gr),fr=ji(br,!0);function pr(e4,t4){var n4=!0;return lr(e4,function(e5,r4,i2){return n4=!!t4(e5,r4,i2)}),n4}function dr(e4,t4,n4){for(var r4=-1,o2=e4.length;++r4<o2;){var a2=e4[r4],s2=t4(a2);if(s2!=null&&(u2===i?s2==s2&&!ss(s2):n4(s2,u2)))var u2=s2,c2=a2}return c2}function hr(e4,t4){var n4=[];return lr(e4,function(e5,r4,i2){t4(e5,r4,i2)&&n4.push(e5)}),n4}function vr(e4,t4,n4,r4,i2){var o2=-1,a2=e4.length;for(n4||(n4=vo),i2||(i2=[]);++o2<a2;){var s2=e4[o2];t4>0&&n4(s2)?t4>1?vr(s2,t4-1,n4,r4,i2):Pt(i2,s2):r4||(i2[i2.length]=s2)}return i2}var mr=Ri(),yr=Ri(!0);function gr(e4,t4){return e4&&mr(e4,t4,js)}function br(e4,t4){return e4&&yr(e4,t4,js)}function _r(e4,t4){return xt(t4,function(t5){return Qa(e4[t5])})}function Er(e4,t4){for(var n4=0,r4=(t4=mi(t4,e4)).length;e4!=null&&n4<r4;)e4=e4[Lo(t4[n4++])];return n4&&n4==r4?e4:i}function wr(e4,t4,n4){var r4=t4(e4);return Ha(e4)?r4:Pt(r4,n4(e4))}function Or(e4){return e4==null?e4===i?"[object Undefined]":"[object Null]":Xe2&&Xe2 in Te2(e4)?function(e5){var t4=De2.call(e5,Xe2),n4=e5[Xe2];try{e5[Xe2]=i;var r4=!0}catch{}var o2=Le2.call(e5);return r4&&(t4?e5[Xe2]=n4:delete e5[Xe2]),o2}(e4):function(e5){return Le2.call(e5)}(e4)}function Tr(e4,t4){return e4>t4}function Nr(e4,t4){return e4!=null&&De2.call(e4,t4)}function Ir(e4,t4){return e4!=null&&t4 in Te2(e4)}function Sr(e4,t4,n4){for(var o2=n4?jt:At,a2=e4[0].length,s2=e4.length,u2=s2,c2=r3(s2),l2=1/0,f2=[];u2--;){var p2=e4[u2];u2&&t4&&(p2=Rt(p2,Jt(t4))),l2=yn(p2.length,l2),c2[u2]=!n4&&(t4||a2>=120&&p2.length>=120)?new Wn(u2&&p2):i}p2=e4[0];var d2=-1,h2=c2[0];e:for(;++d2<a2&&f2.length<l2;){var v2=p2[d2],m2=t4?t4(v2):v2;if(v2=n4||v2!==0?v2:0,!(h2?Kt(h2,m2):o2(f2,m2,n4))){for(u2=s2;--u2;){var y2=c2[u2];if(!(y2?Kt(y2,m2):o2(e4[u2],m2,n4)))continue e}h2&&h2.push(m2),f2.push(v2)}}return f2}function xr(e4,t4,n4){var r4=(e4=No(e4,t4=mi(t4,e4)))==null?e4:e4[Lo(Jo(t4))];return r4==null?i:Ot(r4,e4,n4)}function Ar(e4){return es(e4)&&Or(e4)==v}function jr(e4,t4,n4,r4,o2){return e4===t4||(e4==null||t4==null||!es(e4)&&!es(t4)?e4!=e4&&t4!=t4:function(e5,t5,n5,r5,o3,a2){var s2=Ha(e5),u2=Ha(t5),c2=s2?m:fo(e5),l2=u2?m:fo(t5),f2=(c2=c2==v?T:c2)==T,p2=(l2=l2==v?T:l2)==T,d2=c2==l2;if(d2&&za(e5)){if(!za(t5))return!1;s2=!0,f2=!1}if(d2&&!f2)return a2||(a2=new zn),s2||us(e5)?Xi(e5,t5,n5,r5,o3,a2):function(e6,t6,n6,r6,i2,o4,a3){switch(n6){case P:if(e6.byteLength!=t6.byteLength||e6.byteOffset!=t6.byteOffset)return!1;e6=e6.buffer,t6=t6.buffer;case R:return!(e6.byteLength!=t6.byteLength||!o4(new Be2(e6),new Be2(t6)));case y:case g:case O:return Va(+e6,+t6);case b:return e6.name==t6.name&&e6.message==t6.message;case I:case x:return e6==t6+"";case w:var s3=on;case S:var u3=1&r6;if(s3||(s3=un),e6.size!=t6.size&&!u3)return!1;var c3=a3.get(e6);if(c3)return c3==t6;r6|=2,a3.set(e6,t6);var l3=Xi(s3(e6),s3(t6),r6,i2,o4,a3);return a3.delete(e6),l3;case A:if(Ln)return Ln.call(e6)==Ln.call(t6)}return!1}(e5,t5,c2,n5,r5,o3,a2);if(!(1&n5)){var h2=f2&&De2.call(e5,"__wrapped__"),_2=p2&&De2.call(t5,"__wrapped__");if(h2||_2){var E2=h2?e5.value():e5,N2=_2?t5.value():t5;return a2||(a2=new zn),o3(E2,N2,n5,r5,a2)}}return!!d2&&(a2||(a2=new zn),function(e6,t6,n6,r6,o4,a3){var s3=1&n6,u3=eo(e6),c3=u3.length;if(c3!=eo(t6).length&&!s3)return!1;for(var l3=c3;l3--;){var f3=u3[l3];if(!(s3?f3 in t6:De2.call(t6,f3)))return!1}var p3=a3.get(e6),d3=a3.get(t6);if(p3&&d3)return p3==t6&&d3==e6;var h3=!0;a3.set(e6,t6),a3.set(t6,e6);for(var v2=s3;++l3<c3;){var m2=e6[f3=u3[l3]],y2=t6[f3];if(r6)var g2=s3?r6(y2,m2,f3,t6,e6,a3):r6(m2,y2,f3,e6,t6,a3);if(!(g2===i?m2===y2||o4(m2,y2,n6,r6,a3):g2)){h3=!1;break}v2||(v2=f3=="constructor")}if(h3&&!v2){var b2=e6.constructor,_3=t6.constructor;b2==_3||!("constructor"in e6)||!("constructor"in t6)||typeof b2=="function"&&b2 instanceof b2&&typeof _3=="function"&&_3 instanceof _3||(h3=!1)}return a3.delete(e6),a3.delete(t6),h3}(e5,t5,n5,r5,o3,a2))}(e4,t4,n4,r4,jr,o2))}function Rr(e4,t4,n4,r4){var o2=n4.length,a2=o2,s2=!r4;if(e4==null)return!a2;for(e4=Te2(e4);o2--;){var u2=n4[o2];if(s2&&u2[2]?u2[1]!==e4[u2[0]]:!(u2[0]in e4))return!1}for(;++o2<a2;){var c2=(u2=n4[o2])[0],l2=e4[c2],f2=u2[1];if(s2&&u2[2]){if(l2===i&&!(c2 in e4))return!1}else{var p2=new zn;if(r4)var d2=r4(l2,f2,c2,e4,t4,p2);if(!(d2===i?jr(f2,l2,3,r4,p2):d2))return!1}}return!0}function Pr(e4){return!(!Za(e4)||(t4=e4,Me2&&Me2 in t4))&&(Qa(e4)?Ve2:ve).test(Co(e4));var t4}function Dr(e4){return typeof e4=="function"?e4:e4==null?nu:typeof e4=="object"?Ha(e4)?Fr(e4[0],e4[1]):Cr(e4):fu(e4)}function kr(e4){if(!Eo(e4))return vn(e4);var t4=[];for(var n4 in Te2(e4))De2.call(e4,n4)&&n4!="constructor"&&t4.push(n4);return t4}function Mr(e4,t4){return e4<t4}function Lr(e4,t4){var n4=-1,i2=qa(e4)?r3(e4.length):[];return lr(e4,function(e5,r4,o2){i2[++n4]=t4(e5,r4,o2)}),i2}function Cr(e4){var t4=so(e4);return t4.length==1&&t4[0][2]?Oo(t4[0][0],t4[0][1]):function(n4){return n4===e4||Rr(n4,e4,t4)}}function Fr(e4,t4){return go(e4)&&wo(t4)?Oo(Lo(e4),t4):function(n4){var r4=Ns(n4,e4);return r4===i&&r4===t4?Is(n4,e4):jr(t4,r4,3)}}function Vr(e4,t4,n4,r4,o2){e4!==t4&&mr(t4,function(a2,s2){if(o2||(o2=new zn),Za(a2))(function(e5,t5,n5,r5,o3,a3,s3){var u3=Io(e5,n5),c2=Io(t5,n5),l2=s3.get(c2);if(l2)Xn(e5,n5,l2);else{var f2=a3?a3(u3,c2,n5+"",e5,t5,s3):i,p2=f2===i;if(p2){var d2=Ha(c2),h2=!d2&&za(c2),v2=!d2&&!h2&&us(c2);f2=c2,d2||h2||v2?Ha(u3)?f2=u3:Wa(u3)?f2=Ii(u3):h2?(p2=!1,f2=_i(c2,!0)):v2?(p2=!1,f2=wi(c2,!0)):f2=[]:rs(c2)||Ba(c2)?(f2=u3,Ba(u3)?f2=ms(u3):Za(u3)&&!Qa(u3)||(f2=ho(c2))):p2=!1}p2&&(s3.set(c2,f2),o3(f2,c2,r5,a3,s3),s3.delete(c2)),Xn(e5,n5,f2)}})(e4,t4,s2,n4,Vr,r4,o2);else{var u2=r4?r4(Io(e4,s2),a2,s2+"",e4,t4,o2):i;u2===i&&(u2=a2),Xn(e4,s2,u2)}},Rs)}function Ur(e4,t4){var n4=e4.length;if(n4)return mo(t4+=t4<0?n4:0,n4)?e4[t4]:i}function $r(e4,t4,n4){t4=t4.length?Rt(t4,function(e5){return Ha(e5)?function(t5){return Er(t5,e5.length===1?e5[0]:e5)}:e5}):[nu];var r4=-1;t4=Rt(t4,Jt(oo()));var i2=Lr(e4,function(e5,n5,i3){var o2=Rt(t4,function(t5){return t5(e5)});return{criteria:o2,index:++r4,value:e5}});return function(e5){var t5=e5.length;for(e5.sort(function(e6,t6){return function(e7,t7,n5){for(var r5=-1,i3=e7.criteria,o2=t7.criteria,a2=i3.length,s2=n5.length;++r5<a2;){var u2=Oi(i3[r5],o2[r5]);if(u2)return r5>=s2?u2:u2*(n5[r5]=="desc"?-1:1)}return e7.index-t7.index}(e6,t6,n4)});t5--;)e5[t5]=e5[t5].value;return e5}(i2)}function Br(e4,t4,n4){for(var r4=-1,i2=t4.length,o2={};++r4<i2;){var a2=t4[r4],s2=Er(e4,a2);n4(s2,a2)&&Qr(o2,mi(a2,e4),s2)}return o2}function Hr(e4,t4,n4,r4){var i2=r4?Ut:Vt,o2=-1,a2=t4.length,s2=e4;for(e4===t4&&(t4=Ii(t4)),n4&&(s2=Rt(e4,Jt(n4)));++o2<a2;)for(var u2=0,c2=t4[o2],l2=n4?n4(c2):c2;(u2=i2(s2,l2,u2,r4))>-1;)s2!==e4&&ze2.call(s2,u2,1),ze2.call(e4,u2,1);return e4}function Gr(e4,t4){for(var n4=e4?t4.length:0,r4=n4-1;n4--;){var i2=t4[n4];if(n4==r4||i2!==o2){var o2=i2;mo(i2)?ze2.call(e4,i2,1):ui(e4,i2)}}return e4}function qr(e4,t4){return e4+dt2(_n()*(t4-e4+1))}function Wr(e4,t4){var n4="";if(!e4||t4<1||t4>f)return n4;do t4%2&&(n4+=e4),(t4=dt2(t4/2))&&(e4+=e4);while(t4);return n4}function zr(e4,t4){return Ao(To(e4,t4,nu),e4+"")}function Yr(e4){return Jn(Vs(e4))}function Jr(e4,t4){var n4=Vs(e4);return Po(n4,or(t4,0,n4.length))}function Qr(e4,t4,n4,r4){if(!Za(e4))return e4;for(var o2=-1,a2=(t4=mi(t4,e4)).length,s2=a2-1,u2=e4;u2!=null&&++o2<a2;){var c2=Lo(t4[o2]),l2=n4;if(c2==="__proto__"||c2==="constructor"||c2==="prototype")return e4;if(o2!=s2){var f2=u2[c2];(l2=r4?r4(f2,c2,u2):i)===i&&(l2=Za(f2)?f2:mo(t4[o2+1])?[]:{})}Zn(u2,c2,l2),u2=u2[c2]}return e4}var Kr=xn?function(e4,t4){return xn.set(e4,t4),e4}:nu,Xr=et2?function(e4,t4){return et2(e4,"toString",{configurable:!0,enumerable:!1,value:Zs(t4),writable:!0})}:nu;function Zr(e4){return Po(Vs(e4))}function ei(e4,t4,n4){var i2=-1,o2=e4.length;t4<0&&(t4=-t4>o2?0:o2+t4),(n4=n4>o2?o2:n4)<0&&(n4+=o2),o2=t4>n4?0:n4-t4>>>0,t4>>>=0;for(var a2=r3(o2);++i2<o2;)a2[i2]=e4[i2+t4];return a2}function ti(e4,t4){var n4;return lr(e4,function(e5,r4,i2){return!(n4=t4(e5,r4,i2))}),!!n4}function ni(e4,t4,n4){var r4=0,i2=e4==null?r4:e4.length;if(typeof t4=="number"&&t4==t4&&i2<=2147483647){for(;r4<i2;){var o2=r4+i2>>>1,a2=e4[o2];a2!==null&&!ss(a2)&&(n4?a2<=t4:a2<t4)?r4=o2+1:i2=o2}return i2}return ri(e4,t4,nu,n4)}function ri(e4,t4,n4,r4){var o2=0,a2=e4==null?0:e4.length;if(a2===0)return 0;for(var s2=(t4=n4(t4))!=t4,u2=t4===null,c2=ss(t4),l2=t4===i;o2<a2;){var f2=dt2((o2+a2)/2),p2=n4(e4[f2]),d2=p2!==i,h2=p2===null,v2=p2==p2,m2=ss(p2);if(s2)var y2=r4||v2;else y2=l2?v2&&(r4||d2):u2?v2&&d2&&(r4||!h2):c2?v2&&d2&&!h2&&(r4||!m2):!h2&&!m2&&(r4?p2<=t4:p2<t4);y2?o2=f2+1:a2=f2}return yn(a2,4294967294)}function ii(e4,t4){for(var n4=-1,r4=e4.length,i2=0,o2=[];++n4<r4;){var a2=e4[n4],s2=t4?t4(a2):a2;if(!n4||!Va(s2,u2)){var u2=s2;o2[i2++]=a2===0?0:a2}}return o2}function oi(e4){return typeof e4=="number"?e4:ss(e4)?p:+e4}function ai(e4){if(typeof e4=="string")return e4;if(Ha(e4))return Rt(e4,ai)+"";if(ss(e4))return Cn?Cn.call(e4):"";var t4=e4+"";return t4=="0"&&1/e4==-1/0?"-0":t4}function si(e4,t4,n4){var r4=-1,i2=At,o2=e4.length,a2=!0,s2=[],u2=s2;if(n4)a2=!1,i2=jt;else if(o2>=200){var c2=t4?null:Wi(e4);if(c2)return un(c2);a2=!1,i2=Kt,u2=new Wn}else u2=t4?[]:s2;e:for(;++r4<o2;){var l2=e4[r4],f2=t4?t4(l2):l2;if(l2=n4||l2!==0?l2:0,a2&&f2==f2){for(var p2=u2.length;p2--;)if(u2[p2]===f2)continue e;t4&&u2.push(f2),s2.push(l2)}else i2(u2,f2,n4)||(u2!==s2&&u2.push(f2),s2.push(l2))}return s2}function ui(e4,t4){return(e4=No(e4,t4=mi(t4,e4)))==null||delete e4[Lo(Jo(t4))]}function ci(e4,t4,n4,r4){return Qr(e4,t4,n4(Er(e4,t4)),r4)}function li(e4,t4,n4,r4){for(var i2=e4.length,o2=r4?i2:-1;(r4?o2--:++o2<i2)&&t4(e4[o2],o2,e4););return n4?ei(e4,r4?0:o2,r4?o2+1:i2):ei(e4,r4?o2+1:0,r4?i2:o2)}function fi(e4,t4){var n4=e4;return n4 instanceof Bn&&(n4=n4.value()),Dt(t4,function(e5,t5){return t5.func.apply(t5.thisArg,Pt([e5],t5.args))},n4)}function pi(e4,t4,n4){var i2=e4.length;if(i2<2)return i2?si(e4[0]):[];for(var o2=-1,a2=r3(i2);++o2<i2;)for(var s2=e4[o2],u2=-1;++u2<i2;)u2!=o2&&(a2[o2]=cr(a2[o2]||s2,e4[u2],t4,n4));return si(vr(a2,1),t4,n4)}function di(e4,t4,n4){for(var r4=-1,o2=e4.length,a2=t4.length,s2={};++r4<o2;){var u2=r4<a2?t4[r4]:i;n4(s2,e4[r4],u2)}return s2}function hi(e4){return Wa(e4)?e4:[]}function vi(e4){return typeof e4=="function"?e4:nu}function mi(e4,t4){return Ha(e4)?e4:go(e4,t4)?[e4]:Mo(ys(e4))}var yi=zr;function gi(e4,t4,n4){var r4=e4.length;return n4=n4===i?r4:n4,!t4&&n4>=r4?e4:ei(e4,t4,n4)}var bi=at2||function(e4){return ft.clearTimeout(e4)};function _i(e4,t4){if(t4)return e4.slice();var n4=e4.length,r4=He2?He2(n4):new e4.constructor(n4);return e4.copy(r4),r4}function Ei(e4){var t4=new e4.constructor(e4.byteLength);return new Be2(t4).set(new Be2(e4)),t4}function wi(e4,t4){var n4=t4?Ei(e4.buffer):e4.buffer;return new e4.constructor(n4,e4.byteOffset,e4.length)}function Oi(e4,t4){if(e4!==t4){var n4=e4!==i,r4=e4===null,o2=e4==e4,a2=ss(e4),s2=t4!==i,u2=t4===null,c2=t4==t4,l2=ss(t4);if(!u2&&!l2&&!a2&&e4>t4||a2&&s2&&c2&&!u2&&!l2||r4&&s2&&c2||!n4&&c2||!o2)return 1;if(!r4&&!a2&&!l2&&e4<t4||l2&&n4&&o2&&!r4&&!a2||u2&&n4&&o2||!s2&&o2||!c2)return-1}return 0}function Ti(e4,t4,n4,i2){for(var o2=-1,a2=e4.length,s2=n4.length,u2=-1,c2=t4.length,l2=mn(a2-s2,0),f2=r3(c2+l2),p2=!i2;++u2<c2;)f2[u2]=t4[u2];for(;++o2<s2;)(p2||o2<a2)&&(f2[n4[o2]]=e4[o2]);for(;l2--;)f2[u2++]=e4[o2++];return f2}function Ni(e4,t4,n4,i2){for(var o2=-1,a2=e4.length,s2=-1,u2=n4.length,c2=-1,l2=t4.length,f2=mn(a2-u2,0),p2=r3(f2+l2),d2=!i2;++o2<f2;)p2[o2]=e4[o2];for(var h2=o2;++c2<l2;)p2[h2+c2]=t4[c2];for(;++s2<u2;)(d2||o2<a2)&&(p2[h2+n4[s2]]=e4[o2++]);return p2}function Ii(e4,t4){var n4=-1,i2=e4.length;for(t4||(t4=r3(i2));++n4<i2;)t4[n4]=e4[n4];return t4}function Si(e4,t4,n4,r4){var o2=!n4;n4||(n4={});for(var a2=-1,s2=t4.length;++a2<s2;){var u2=t4[a2],c2=r4?r4(n4[u2],e4[u2],u2,n4,e4):i;c2===i&&(c2=e4[u2]),o2?rr(n4,u2,c2):Zn(n4,u2,c2)}return n4}function xi(e4,t4){return function(n4,r4){var i2=Ha(n4)?Tt:tr,o2=t4?t4():{};return i2(n4,e4,oo(r4,2),o2)}}function Ai(e4){return zr(function(t4,n4){var r4=-1,o2=n4.length,a2=o2>1?n4[o2-1]:i,s2=o2>2?n4[2]:i;for(a2=e4.length>3&&typeof a2=="function"?(o2--,a2):i,s2&&yo(n4[0],n4[1],s2)&&(a2=o2<3?i:a2,o2=1),t4=Te2(t4);++r4<o2;){var u2=n4[r4];u2&&e4(t4,u2,r4,a2)}return t4})}function ji(e4,t4){return function(n4,r4){if(n4==null)return n4;if(!qa(n4))return e4(n4,r4);for(var i2=n4.length,o2=t4?i2:-1,a2=Te2(n4);(t4?o2--:++o2<i2)&&r4(a2[o2],o2,a2)!==!1;);return n4}}function Ri(e4){return function(t4,n4,r4){for(var i2=-1,o2=Te2(t4),a2=r4(t4),s2=a2.length;s2--;){var u2=a2[e4?s2:++i2];if(n4(o2[u2],u2,o2)===!1)break}return t4}}function Pi(e4){return function(t4){var n4=rn(t4=ys(t4))?fn(t4):i,r4=n4?n4[0]:t4.charAt(0),o2=n4?gi(n4,1).join(""):t4.slice(1);return r4[e4]()+o2}}function Di(e4){return function(t4){return Dt(Qs(Bs(t4).replace(Qe,"")),e4,"")}}function ki(e4){return function(){var t4=arguments;switch(t4.length){case 0:return new e4;case 1:return new e4(t4[0]);case 2:return new e4(t4[0],t4[1]);case 3:return new e4(t4[0],t4[1],t4[2]);case 4:return new e4(t4[0],t4[1],t4[2],t4[3]);case 5:return new e4(t4[0],t4[1],t4[2],t4[3],t4[4]);case 6:return new e4(t4[0],t4[1],t4[2],t4[3],t4[4],t4[5]);case 7:return new e4(t4[0],t4[1],t4[2],t4[3],t4[4],t4[5],t4[6])}var n4=Vn(e4.prototype),r4=e4.apply(n4,t4);return Za(r4)?r4:n4}}function Mi(e4){return function(t4,n4,r4){var o2=Te2(t4);if(!qa(t4)){var a2=oo(n4,3);t4=js(t4),n4=function(e5){return a2(o2[e5],e5,o2)}}var s2=e4(t4,n4,r4);return s2>-1?o2[a2?t4[s2]:s2]:i}}function Li(e4){return Zi(function(t4){var n4=t4.length,r4=n4,a2=$n.prototype.thru;for(e4&&t4.reverse();r4--;){var s2=t4[r4];if(typeof s2!="function")throw new Se2(o);if(a2&&!u2&&ro(s2)=="wrapper")var u2=new $n([],!0)}for(r4=u2?r4:n4;++r4<n4;){var c2=ro(s2=t4[r4]),l2=c2=="wrapper"?no(s2):i;u2=l2&&bo(l2[0])&&l2[1]==424&&!l2[4].length&&l2[9]==1?u2[ro(l2[0])].apply(u2,l2[3]):s2.length==1&&bo(s2)?u2[c2]():u2.thru(s2)}return function(){var e5=arguments,r5=e5[0];if(u2&&e5.length==1&&Ha(r5))return u2.plant(r5).value();for(var i2=0,o2=n4?t4[i2].apply(this,e5):r5;++i2<n4;)o2=t4[i2].call(this,o2);return o2}})}function Ci(e4,t4,n4,o2,a2,s2,u2,l2,f2,p2){var d2=t4&c,h2=1&t4,v2=2&t4,m2=24&t4,y2=512&t4,g2=v2?i:ki(e4);return function c2(){for(var b2=arguments.length,_2=r3(b2),E2=b2;E2--;)_2[E2]=arguments[E2];if(m2)var w2=io(c2),O2=function(e5,t5){for(var n5=e5.length,r4=0;n5--;)e5[n5]===t5&&++r4;return r4}(_2,w2);if(o2&&(_2=Ti(_2,o2,a2,m2)),s2&&(_2=Ni(_2,s2,u2,m2)),b2-=O2,m2&&b2<p2){var T2=sn(_2,w2);return Gi(e4,t4,Ci,c2.placeholder,n4,_2,T2,l2,f2,p2-b2)}var N2=h2?n4:this,I2=v2?N2[e4]:e4;return b2=_2.length,l2?_2=function(e5,t5){for(var n5=e5.length,r4=yn(t5.length,n5),o3=Ii(e5);r4--;){var a3=t5[r4];e5[r4]=mo(a3,n5)?o3[a3]:i}return e5}(_2,l2):y2&&b2>1&&_2.reverse(),d2&&f2<b2&&(_2.length=f2),this&&this!==ft&&this instanceof c2&&(I2=g2||ki(I2)),I2.apply(N2,_2)}}function Fi(e4,t4){return function(n4,r4){return function(e5,t5,n5,r5){return gr(e5,function(e6,i2,o2){t5(r5,n5(e6),i2,o2)}),r5}(n4,e4,t4(r4),{})}}function Vi(e4,t4){return function(n4,r4){var o2;if(n4===i&&r4===i)return t4;if(n4!==i&&(o2=n4),r4!==i){if(o2===i)return r4;typeof n4=="string"||typeof r4=="string"?(n4=ai(n4),r4=ai(r4)):(n4=oi(n4),r4=oi(r4)),o2=e4(n4,r4)}return o2}}function Ui(e4){return Zi(function(t4){return t4=Rt(t4,Jt(oo())),zr(function(n4){var r4=this;return e4(t4,function(e5){return Ot(e5,r4,n4)})})})}function $i(e4,t4){var n4=(t4=t4===i?" ":ai(t4)).length;if(n4<2)return n4?Wr(t4,e4):t4;var r4=Wr(t4,pt2(e4/ln(t4)));return rn(t4)?gi(fn(r4),0,e4).join(""):r4.slice(0,e4)}function Bi(e4){return function(t4,n4,o2){return o2&&typeof o2!="number"&&yo(t4,n4,o2)&&(n4=o2=i),t4=ps(t4),n4===i?(n4=t4,t4=0):n4=ps(n4),function(e5,t5,n5,i2){for(var o3=-1,a2=mn(pt2((t5-e5)/(n5||1)),0),s2=r3(a2);a2--;)s2[i2?a2:++o3]=e5,e5+=n5;return s2}(t4,n4,o2=o2===i?t4<n4?1:-1:ps(o2),e4)}}function Hi(e4){return function(t4,n4){return typeof t4=="string"&&typeof n4=="string"||(t4=vs(t4),n4=vs(n4)),e4(t4,n4)}}function Gi(e4,t4,n4,r4,o2,a2,s2,c2,l2,f2){var p2=8&t4;t4|=p2?u:64,4&(t4&=~(p2?64:u))||(t4&=-4);var d2=[e4,t4,o2,p2?a2:i,p2?s2:i,p2?i:a2,p2?i:s2,c2,l2,f2],h2=n4.apply(i,d2);return bo(e4)&&So(h2,d2),h2.placeholder=r4,jo(h2,e4,t4)}function qi(e4){var t4=Oe2[e4];return function(e5,n4){if(e5=vs(e5),(n4=n4==null?0:yn(ds(n4),292))&&Lt2(e5)){var r4=(ys(e5)+"e").split("e");return+((r4=(ys(t4(r4[0]+"e"+(+r4[1]+n4)))+"e").split("e"))[0]+"e"+(+r4[1]-n4))}return t4(e5)}}var Wi=Nn&&1/un(new Nn([,-0]))[1]==l?function(e4){return new Nn(e4)}:su;function zi(e4){return function(t4){var n4=fo(t4);return n4==w?on(t4):n4==S?cn(t4):function(e5,t5){return Rt(t5,function(t6){return[t6,e5[t6]]})}(t4,e4(t4))}}function Yi(e4,t4,n4,a2,l2,f2,p2,d2){var h2=2&t4;if(!h2&&typeof e4!="function")throw new Se2(o);var v2=a2?a2.length:0;if(v2||(t4&=-97,a2=l2=i),p2=p2===i?p2:mn(ds(p2),0),d2=d2===i?d2:ds(d2),v2-=l2?l2.length:0,64&t4){var m2=a2,y2=l2;a2=l2=i}var g2=h2?i:no(e4),b2=[e4,t4,n4,a2,l2,m2,y2,f2,p2,d2];if(g2&&function(e5,t5){var n5=e5[1],r4=t5[1],i2=n5|r4,o2=i2<131,a3=r4==c&&n5==8||r4==c&&n5==256&&e5[7].length<=t5[8]||r4==384&&t5[7].length<=t5[8]&&n5==8;if(!o2&&!a3)return e5;1&r4&&(e5[2]=t5[2],i2|=1&n5?0:4);var u2=t5[3];if(u2){var l3=e5[3];e5[3]=l3?Ti(l3,u2,t5[4]):u2,e5[4]=l3?sn(e5[3],s):t5[4]}(u2=t5[5])&&(l3=e5[5],e5[5]=l3?Ni(l3,u2,t5[6]):u2,e5[6]=l3?sn(e5[5],s):t5[6]),(u2=t5[7])&&(e5[7]=u2),r4&c&&(e5[8]=e5[8]==null?t5[8]:yn(e5[8],t5[8])),e5[9]==null&&(e5[9]=t5[9]),e5[0]=t5[0],e5[1]=i2}(b2,g2),e4=b2[0],t4=b2[1],n4=b2[2],a2=b2[3],l2=b2[4],!(d2=b2[9]=b2[9]===i?h2?0:e4.length:mn(b2[9]-v2,0))&&24&t4&&(t4&=-25),t4&&t4!=1)_2=t4==8||t4==16?function(e5,t5,n5){var o2=ki(e5);return function a3(){for(var s2=arguments.length,u2=r3(s2),c2=s2,l3=io(a3);c2--;)u2[c2]=arguments[c2];var f3=s2<3&&u2[0]!==l3&&u2[s2-1]!==l3?[]:sn(u2,l3);return(s2-=f3.length)<n5?Gi(e5,t5,Ci,a3.placeholder,i,u2,f3,i,i,n5-s2):Ot(this&&this!==ft&&this instanceof a3?o2:e5,this,u2)}}(e4,t4,d2):t4!=u&&t4!=33||l2.length?Ci.apply(i,b2):function(e5,t5,n5,i2){var o2=1&t5,a3=ki(e5);return function t6(){for(var s2=-1,u2=arguments.length,c2=-1,l3=i2.length,f3=r3(l3+u2),p3=this&&this!==ft&&this instanceof t6?a3:e5;++c2<l3;)f3[c2]=i2[c2];for(;u2--;)f3[c2++]=arguments[++s2];return Ot(p3,o2?n5:this,f3)}}(e4,t4,n4,a2);else var _2=function(e5,t5,n5){var r4=1&t5,i2=ki(e5);return function t6(){return(this&&this!==ft&&this instanceof t6?i2:e5).apply(r4?n5:this,arguments)}}(e4,t4,n4);return jo((g2?Kr:So)(_2,b2),e4,t4)}function Ji(e4,t4,n4,r4){return e4===i||Va(e4,je2[n4])&&!De2.call(r4,n4)?t4:e4}function Qi(e4,t4,n4,r4,o2,a2){return Za(e4)&&Za(t4)&&(a2.set(t4,e4),Vr(e4,t4,i,Qi,a2),a2.delete(t4)),e4}function Ki(e4){return rs(e4)?i:e4}function Xi(e4,t4,n4,r4,o2,a2){var s2=1&n4,u2=e4.length,c2=t4.length;if(u2!=c2&&!(s2&&c2>u2))return!1;var l2=a2.get(e4),f2=a2.get(t4);if(l2&&f2)return l2==t4&&f2==e4;var p2=-1,d2=!0,h2=2&n4?new Wn:i;for(a2.set(e4,t4),a2.set(t4,e4);++p2<u2;){var v2=e4[p2],m2=t4[p2];if(r4)var y2=s2?r4(m2,v2,p2,t4,e4,a2):r4(v2,m2,p2,e4,t4,a2);if(y2!==i){if(y2)continue;d2=!1;break}if(h2){if(!Mt(t4,function(e5,t5){if(!Kt(h2,t5)&&(v2===e5||o2(v2,e5,n4,r4,a2)))return h2.push(t5)})){d2=!1;break}}else if(v2!==m2&&!o2(v2,m2,n4,r4,a2)){d2=!1;break}}return a2.delete(e4),a2.delete(t4),d2}function Zi(e4){return Ao(To(e4,i,Go),e4+"")}function eo(e4){return wr(e4,js,co)}function to(e4){return wr(e4,Rs,lo)}var no=xn?function(e4){return xn.get(e4)}:su;function ro(e4){for(var t4=e4.name+"",n4=An[t4],r4=De2.call(An,t4)?n4.length:0;r4--;){var i2=n4[r4],o2=i2.func;if(o2==null||o2==e4)return i2.name}return t4}function io(e4){return(De2.call(Fn,"placeholder")?Fn:e4).placeholder}function oo(){var e4=Fn.iteratee||ru;return e4=e4===ru?Dr:e4,arguments.length?e4(arguments[0],arguments[1]):e4}function ao(e4,t4){var n4=e4.__data__;return function(e5){var t5=typeof e5;return t5=="string"||t5=="number"||t5=="symbol"||t5=="boolean"?e5!=="__proto__":e5===null}(t4)?n4[typeof t4=="string"?"string":"hash"]:n4.map}function so(e4){for(var t4=js(e4),n4=t4.length;n4--;){var r4=t4[n4],i2=e4[r4];t4[n4]=[r4,i2,wo(i2)]}return t4}function uo(e4,t4){var n4=function(e5,t5){return e5==null?i:e5[t5]}(e4,t4);return Pr(n4)?n4:i}var co=vt2?function(e4){return e4==null?[]:(e4=Te2(e4),xt(vt2(e4),function(t4){return We2.call(e4,t4)}))}:hu,lo=vt2?function(e4){for(var t4=[];e4;)Pt(t4,co(e4)),e4=Ge2(e4);return t4}:hu,fo=Or;function po(e4,t4,n4){for(var r4=-1,i2=(t4=mi(t4,e4)).length,o2=!1;++r4<i2;){var a2=Lo(t4[r4]);if(!(o2=e4!=null&&n4(e4,a2)))break;e4=e4[a2]}return o2||++r4!=i2?o2:!!(i2=e4==null?0:e4.length)&&Xa(i2)&&mo(a2,i2)&&(Ha(e4)||Ba(e4))}function ho(e4){return typeof e4.constructor!="function"||Eo(e4)?{}:Vn(Ge2(e4))}function vo(e4){return Ha(e4)||Ba(e4)||!!(Ye2&&e4&&e4[Ye2])}function mo(e4,t4){var n4=typeof e4;return!!(t4=t4??f)&&(n4=="number"||n4!="symbol"&&ye.test(e4))&&e4>-1&&e4%1==0&&e4<t4}function yo(e4,t4,n4){if(!Za(n4))return!1;var r4=typeof t4;return!!(r4=="number"?qa(n4)&&mo(t4,n4.length):r4=="string"&&t4 in n4)&&Va(n4[t4],e4)}function go(e4,t4){if(Ha(e4))return!1;var n4=typeof e4;return!(n4!="number"&&n4!="symbol"&&n4!="boolean"&&e4!=null&&!ss(e4))||Z.test(e4)||!X.test(e4)||t4!=null&&e4 in Te2(t4)}function bo(e4){var t4=ro(e4),n4=Fn[t4];if(typeof n4!="function"||!(t4 in Bn.prototype))return!1;if(e4===n4)return!0;var r4=no(n4);return!!r4&&e4===r4[0]}(wn&&fo(new wn(new ArrayBuffer(1)))!=P||On&&fo(new On)!=w||Tn&&fo(Tn.resolve())!=N||Nn&&fo(new Nn)!=S||In&&fo(new In)!=j)&&(fo=function(e4){var t4=Or(e4),n4=t4==T?e4.constructor:i,r4=n4?Co(n4):"";if(r4)switch(r4){case jn:return P;case Rn:return w;case Pn:return N;case Dn:return S;case kn:return j}return t4});var _o=Re2?Qa:vu;function Eo(e4){var t4=e4&&e4.constructor;return e4===(typeof t4=="function"&&t4.prototype||je2)}function wo(e4){return e4==e4&&!Za(e4)}function Oo(e4,t4){return function(n4){return n4!=null&&n4[e4]===t4&&(t4!==i||e4 in Te2(n4))}}function To(e4,t4,n4){return t4=mn(t4===i?e4.length-1:t4,0),function(){for(var i2=arguments,o2=-1,a2=mn(i2.length-t4,0),s2=r3(a2);++o2<a2;)s2[o2]=i2[t4+o2];o2=-1;for(var u2=r3(t4+1);++o2<t4;)u2[o2]=i2[o2];return u2[t4]=n4(s2),Ot(e4,this,u2)}}function No(e4,t4){return t4.length<2?e4:Er(e4,ei(t4,0,-1))}function Io(e4,t4){if((t4!=="constructor"||typeof e4[t4]!="function")&&t4!="__proto__")return e4[t4]}var So=Ro(Kr),xo=lt2||function(e4,t4){return ft.setTimeout(e4,t4)},Ao=Ro(Xr);function jo(e4,t4,n4){var r4=t4+"";return Ao(e4,function(e5,t5){var n5=t5.length;if(!n5)return e5;var r5=n5-1;return t5[r5]=(n5>1?"& ":"")+t5[r5],t5=t5.join(n5>2?", ":" "),e5.replace(oe,`{
|
14
|
-
/* [wrapped with `+t5+`] */
|
15
|
-
`)}(r4,function(e5,t5){return Nt(h,function(n5){var r5="_."+n5[0];t5&n5[1]&&!At(e5,r5)&&e5.push(r5)}),e5.sort()}(function(e5){var t5=e5.match(ae);return t5?t5[1].split(se):[]}(r4),n4)))}function Ro(e4){var t4=0,n4=0;return function(){var r4=gn(),o2=16-(r4-n4);if(n4=r4,o2>0){if(++t4>=800)return arguments[0]}else t4=0;return e4.apply(i,arguments)}}function Po(e4,t4){var n4=-1,r4=e4.length,o2=r4-1;for(t4=t4===i?r4:t4;++n4<t4;){var a2=qr(n4,o2),s2=e4[a2];e4[a2]=e4[n4],e4[n4]=s2}return e4.length=t4,e4}var Do,ko,Mo=(Do=Da(function(e4){var t4=[];return e4.charCodeAt(0)===46&&t4.push(""),e4.replace(ee,function(e5,n4,r4,i2){t4.push(r4?i2.replace(le,"$1"):n4||e5)}),t4},function(e4){return ko.size===500&&ko.clear(),e4}),ko=Do.cache,Do);function Lo(e4){if(typeof e4=="string"||ss(e4))return e4;var t4=e4+"";return t4=="0"&&1/e4==-1/0?"-0":t4}function Co(e4){if(e4!=null){try{return Pe2.call(e4)}catch{}try{return e4+""}catch{}}return""}function Fo(e4){if(e4 instanceof Bn)return e4.clone();var t4=new $n(e4.__wrapped__,e4.__chain__);return t4.__actions__=Ii(e4.__actions__),t4.__index__=e4.__index__,t4.__values__=e4.__values__,t4}var Vo=zr(function(e4,t4){return Wa(e4)?cr(e4,vr(t4,1,Wa,!0)):[]}),Uo=zr(function(e4,t4){var n4=Jo(t4);return Wa(n4)&&(n4=i),Wa(e4)?cr(e4,vr(t4,1,Wa,!0),oo(n4,2)):[]}),$o=zr(function(e4,t4){var n4=Jo(t4);return Wa(n4)&&(n4=i),Wa(e4)?cr(e4,vr(t4,1,Wa,!0),i,n4):[]});function Bo(e4,t4,n4){var r4=e4==null?0:e4.length;if(!r4)return-1;var i2=n4==null?0:ds(n4);return i2<0&&(i2=mn(r4+i2,0)),Ft(e4,oo(t4,3),i2)}function Ho(e4,t4,n4){var r4=e4==null?0:e4.length;if(!r4)return-1;var o2=r4-1;return n4!==i&&(o2=ds(n4),o2=n4<0?mn(r4+o2,0):yn(o2,r4-1)),Ft(e4,oo(t4,3),o2,!0)}function Go(e4){return e4!=null&&e4.length?vr(e4,1):[]}function qo(e4){return e4&&e4.length?e4[0]:i}var Wo=zr(function(e4){var t4=Rt(e4,hi);return t4.length&&t4[0]===e4[0]?Sr(t4):[]}),zo=zr(function(e4){var t4=Jo(e4),n4=Rt(e4,hi);return t4===Jo(n4)?t4=i:n4.pop(),n4.length&&n4[0]===e4[0]?Sr(n4,oo(t4,2)):[]}),Yo=zr(function(e4){var t4=Jo(e4),n4=Rt(e4,hi);return(t4=typeof t4=="function"?t4:i)&&n4.pop(),n4.length&&n4[0]===e4[0]?Sr(n4,i,t4):[]});function Jo(e4){var t4=e4==null?0:e4.length;return t4?e4[t4-1]:i}var Qo=zr(Ko);function Ko(e4,t4){return e4&&e4.length&&t4&&t4.length?Hr(e4,t4):e4}var Xo=Zi(function(e4,t4){var n4=e4==null?0:e4.length,r4=ir(e4,t4);return Gr(e4,Rt(t4,function(e5){return mo(e5,n4)?+e5:e5}).sort(Oi)),r4});function Zo(e4){return e4==null?e4:En.call(e4)}var ea=zr(function(e4){return si(vr(e4,1,Wa,!0))}),ta=zr(function(e4){var t4=Jo(e4);return Wa(t4)&&(t4=i),si(vr(e4,1,Wa,!0),oo(t4,2))}),na=zr(function(e4){var t4=Jo(e4);return t4=typeof t4=="function"?t4:i,si(vr(e4,1,Wa,!0),i,t4)});function ra(e4){if(!e4||!e4.length)return[];var t4=0;return e4=xt(e4,function(e5){if(Wa(e5))return t4=mn(e5.length,t4),!0}),zt(t4,function(t5){return Rt(e4,Ht(t5))})}function ia(e4,t4){if(!e4||!e4.length)return[];var n4=ra(e4);return t4==null?n4:Rt(n4,function(e5){return Ot(t4,i,e5)})}var oa=zr(function(e4,t4){return Wa(e4)?cr(e4,t4):[]}),aa=zr(function(e4){return pi(xt(e4,Wa))}),sa=zr(function(e4){var t4=Jo(e4);return Wa(t4)&&(t4=i),pi(xt(e4,Wa),oo(t4,2))}),ua=zr(function(e4){var t4=Jo(e4);return t4=typeof t4=="function"?t4:i,pi(xt(e4,Wa),i,t4)}),ca=zr(ra),la=zr(function(e4){var t4=e4.length,n4=t4>1?e4[t4-1]:i;return n4=typeof n4=="function"?(e4.pop(),n4):i,ia(e4,n4)});function fa(e4){var t4=Fn(e4);return t4.__chain__=!0,t4}function pa(e4,t4){return t4(e4)}var da=Zi(function(e4){var t4=e4.length,n4=t4?e4[0]:0,r4=this.__wrapped__,o2=function(t5){return ir(t5,e4)};return!(t4>1||this.__actions__.length)&&r4 instanceof Bn&&mo(n4)?((r4=r4.slice(n4,+n4+(t4?1:0))).__actions__.push({func:pa,args:[o2],thisArg:i}),new $n(r4,this.__chain__).thru(function(e5){return t4&&!e5.length&&e5.push(i),e5})):this.thru(o2)}),ha=xi(function(e4,t4,n4){De2.call(e4,n4)?++e4[n4]:rr(e4,n4,1)}),va=Mi(Bo),ma=Mi(Ho);function ya(e4,t4){return(Ha(e4)?Nt:lr)(e4,oo(t4,3))}function ga(e4,t4){return(Ha(e4)?It:fr)(e4,oo(t4,3))}var ba=xi(function(e4,t4,n4){De2.call(e4,n4)?e4[n4].push(t4):rr(e4,n4,[t4])}),_a=zr(function(e4,t4,n4){var i2=-1,o2=typeof t4=="function",a2=qa(e4)?r3(e4.length):[];return lr(e4,function(e5){a2[++i2]=o2?Ot(t4,e5,n4):xr(e5,t4,n4)}),a2}),Ea=xi(function(e4,t4,n4){rr(e4,n4,t4)});function wa(e4,t4){return(Ha(e4)?Rt:Lr)(e4,oo(t4,3))}var Oa=xi(function(e4,t4,n4){e4[n4?0:1].push(t4)},function(){return[[],[]]}),Ta=zr(function(e4,t4){if(e4==null)return[];var n4=t4.length;return n4>1&&yo(e4,t4[0],t4[1])?t4=[]:n4>2&&yo(t4[0],t4[1],t4[2])&&(t4=[t4[0]]),$r(e4,vr(t4,1),[])}),Na=ct2||function(){return ft.Date.now()};function Ia(e4,t4,n4){return t4=n4?i:t4,t4=e4&&t4==null?e4.length:t4,Yi(e4,c,i,i,i,i,t4)}function Sa(e4,t4){var n4;if(typeof t4!="function")throw new Se2(o);return e4=ds(e4),function(){return--e4>0&&(n4=t4.apply(this,arguments)),e4<=1&&(t4=i),n4}}var xa=zr(function(e4,t4,n4){var r4=1;if(n4.length){var i2=sn(n4,io(xa));r4|=u}return Yi(e4,r4,t4,n4,i2)}),Aa=zr(function(e4,t4,n4){var r4=3;if(n4.length){var i2=sn(n4,io(Aa));r4|=u}return Yi(t4,r4,e4,n4,i2)});function ja(e4,t4,n4){var r4,a2,s2,u2,c2,l2,f2=0,p2=!1,d2=!1,h2=!0;if(typeof e4!="function")throw new Se2(o);function v2(t5){var n5=r4,o2=a2;return r4=a2=i,f2=t5,u2=e4.apply(o2,n5)}function m2(e5){var n5=e5-l2;return l2===i||n5>=t4||n5<0||d2&&e5-f2>=s2}function y2(){var e5=Na();if(m2(e5))return g2(e5);c2=xo(y2,function(e6){var n5=t4-(e6-l2);return d2?yn(n5,s2-(e6-f2)):n5}(e5))}function g2(e5){return c2=i,h2&&r4?v2(e5):(r4=a2=i,u2)}function b2(){var e5=Na(),n5=m2(e5);if(r4=arguments,a2=this,l2=e5,n5){if(c2===i)return function(e6){return f2=e6,c2=xo(y2,t4),p2?v2(e6):u2}(l2);if(d2)return bi(c2),c2=xo(y2,t4),v2(l2)}return c2===i&&(c2=xo(y2,t4)),u2}return t4=vs(t4)||0,Za(n4)&&(p2=!!n4.leading,s2=(d2="maxWait"in n4)?mn(vs(n4.maxWait)||0,t4):s2,h2="trailing"in n4?!!n4.trailing:h2),b2.cancel=function(){c2!==i&&bi(c2),f2=0,r4=l2=a2=c2=i},b2.flush=function(){return c2===i?u2:g2(Na())},b2}var Ra=zr(function(e4,t4){return ur(e4,1,t4)}),Pa=zr(function(e4,t4,n4){return ur(e4,vs(t4)||0,n4)});function Da(e4,t4){if(typeof e4!="function"||t4!=null&&typeof t4!="function")throw new Se2(o);var n4=function(){var r4=arguments,i2=t4?t4.apply(this,r4):r4[0],o2=n4.cache;if(o2.has(i2))return o2.get(i2);var a2=e4.apply(this,r4);return n4.cache=o2.set(i2,a2)||o2,a2};return n4.cache=new(Da.Cache||qn),n4}function ka(e4){if(typeof e4!="function")throw new Se2(o);return function(){var t4=arguments;switch(t4.length){case 0:return!e4.call(this);case 1:return!e4.call(this,t4[0]);case 2:return!e4.call(this,t4[0],t4[1]);case 3:return!e4.call(this,t4[0],t4[1],t4[2])}return!e4.apply(this,t4)}}Da.Cache=qn;var Ma=yi(function(e4,t4){var n4=(t4=t4.length==1&&Ha(t4[0])?Rt(t4[0],Jt(oo())):Rt(vr(t4,1),Jt(oo()))).length;return zr(function(r4){for(var i2=-1,o2=yn(r4.length,n4);++i2<o2;)r4[i2]=t4[i2].call(this,r4[i2]);return Ot(e4,this,r4)})}),La=zr(function(e4,t4){var n4=sn(t4,io(La));return Yi(e4,u,i,t4,n4)}),Ca=zr(function(e4,t4){var n4=sn(t4,io(Ca));return Yi(e4,64,i,t4,n4)}),Fa=Zi(function(e4,t4){return Yi(e4,256,i,i,i,t4)});function Va(e4,t4){return e4===t4||e4!=e4&&t4!=t4}var Ua=Hi(Tr),$a=Hi(function(e4,t4){return e4>=t4}),Ba=Ar(function(){return arguments}())?Ar:function(e4){return es(e4)&&De2.call(e4,"callee")&&!We2.call(e4,"callee")},Ha=r3.isArray,Ga=yt?Jt(yt):function(e4){return es(e4)&&Or(e4)==R};function qa(e4){return e4!=null&&Xa(e4.length)&&!Qa(e4)}function Wa(e4){return es(e4)&&qa(e4)}var za=mt2||vu,Ya=gt?Jt(gt):function(e4){return es(e4)&&Or(e4)==g};function Ja(e4){if(!es(e4))return!1;var t4=Or(e4);return t4==b||t4=="[object DOMException]"||typeof e4.message=="string"&&typeof e4.name=="string"&&!rs(e4)}function Qa(e4){if(!Za(e4))return!1;var t4=Or(e4);return t4==_||t4==E||t4=="[object AsyncFunction]"||t4=="[object Proxy]"}function Ka(e4){return typeof e4=="number"&&e4==ds(e4)}function Xa(e4){return typeof e4=="number"&&e4>-1&&e4%1==0&&e4<=f}function Za(e4){var t4=typeof e4;return e4!=null&&(t4=="object"||t4=="function")}function es(e4){return e4!=null&&typeof e4=="object"}var ts=bt?Jt(bt):function(e4){return es(e4)&&fo(e4)==w};function ns(e4){return typeof e4=="number"||es(e4)&&Or(e4)==O}function rs(e4){if(!es(e4)||Or(e4)!=T)return!1;var t4=Ge2(e4);if(t4===null)return!0;var n4=De2.call(t4,"constructor")&&t4.constructor;return typeof n4=="function"&&n4 instanceof n4&&Pe2.call(n4)==Ce2}var is=_t?Jt(_t):function(e4){return es(e4)&&Or(e4)==I},os=Et?Jt(Et):function(e4){return es(e4)&&fo(e4)==S};function as(e4){return typeof e4=="string"||!Ha(e4)&&es(e4)&&Or(e4)==x}function ss(e4){return typeof e4=="symbol"||es(e4)&&Or(e4)==A}var us=wt?Jt(wt):function(e4){return es(e4)&&Xa(e4.length)&&!!it[Or(e4)]},cs=Hi(Mr),ls=Hi(function(e4,t4){return e4<=t4});function fs(e4){if(!e4)return[];if(qa(e4))return as(e4)?fn(e4):Ii(e4);if(Je2&&e4[Je2])return function(e5){for(var t5,n4=[];!(t5=e5.next()).done;)n4.push(t5.value);return n4}(e4[Je2]());var t4=fo(e4);return(t4==w?on:t4==S?un:Vs)(e4)}function ps(e4){return e4?(e4=vs(e4))===l||e4===-1/0?17976931348623157e292*(e4<0?-1:1):e4==e4?e4:0:e4===0?e4:0}function ds(e4){var t4=ps(e4),n4=t4%1;return t4==t4?n4?t4-n4:t4:0}function hs(e4){return e4?or(ds(e4),0,d):0}function vs(e4){if(typeof e4=="number")return e4;if(ss(e4))return p;if(Za(e4)){var t4=typeof e4.valueOf=="function"?e4.valueOf():e4;e4=Za(t4)?t4+"":t4}if(typeof e4!="string")return e4===0?e4:+e4;e4=Yt(e4);var n4=he.test(e4);return n4||me.test(e4)?ut(e4.slice(2),n4?2:8):de.test(e4)?p:+e4}function ms(e4){return Si(e4,Rs(e4))}function ys(e4){return e4==null?"":ai(e4)}var gs=Ai(function(e4,t4){if(Eo(t4)||qa(t4))Si(t4,js(t4),e4);else for(var n4 in t4)De2.call(t4,n4)&&Zn(e4,n4,t4[n4])}),bs=Ai(function(e4,t4){Si(t4,Rs(t4),e4)}),_s=Ai(function(e4,t4,n4,r4){Si(t4,Rs(t4),e4,r4)}),Es=Ai(function(e4,t4,n4,r4){Si(t4,js(t4),e4,r4)}),ws=Zi(ir),Os=zr(function(e4,t4){e4=Te2(e4);var n4=-1,r4=t4.length,o2=r4>2?t4[2]:i;for(o2&&yo(t4[0],t4[1],o2)&&(r4=1);++n4<r4;)for(var a2=t4[n4],s2=Rs(a2),u2=-1,c2=s2.length;++u2<c2;){var l2=s2[u2],f2=e4[l2];(f2===i||Va(f2,je2[l2])&&!De2.call(e4,l2))&&(e4[l2]=a2[l2])}return e4}),Ts=zr(function(e4){return e4.push(i,Qi),Ot(Ds,i,e4)});function Ns(e4,t4,n4){var r4=e4==null?i:Er(e4,t4);return r4===i?n4:r4}function Is(e4,t4){return e4!=null&&po(e4,t4,Ir)}var Ss=Fi(function(e4,t4,n4){t4!=null&&typeof t4.toString!="function"&&(t4=Le2.call(t4)),e4[t4]=n4},Zs(nu)),xs=Fi(function(e4,t4,n4){t4!=null&&typeof t4.toString!="function"&&(t4=Le2.call(t4)),De2.call(e4,t4)?e4[t4].push(n4):e4[t4]=[n4]},oo),As=zr(xr);function js(e4){return qa(e4)?Yn(e4):kr(e4)}function Rs(e4){return qa(e4)?Yn(e4,!0):function(e5){if(!Za(e5))return function(e6){var t5=[];if(e6!=null)for(var n5 in Te2(e6))t5.push(n5);return t5}(e5);var t4=Eo(e5),n4=[];for(var r4 in e5)(r4!="constructor"||!t4&&De2.call(e5,r4))&&n4.push(r4);return n4}(e4)}var Ps=Ai(function(e4,t4,n4){Vr(e4,t4,n4)}),Ds=Ai(function(e4,t4,n4,r4){Vr(e4,t4,n4,r4)}),ks=Zi(function(e4,t4){var n4={};if(e4==null)return n4;var r4=!1;t4=Rt(t4,function(t5){return t5=mi(t5,e4),r4||(r4=t5.length>1),t5}),Si(e4,to(e4),n4),r4&&(n4=ar(n4,7,Ki));for(var i2=t4.length;i2--;)ui(n4,t4[i2]);return n4}),Ms=Zi(function(e4,t4){return e4==null?{}:function(e5,t5){return Br(e5,t5,function(t6,n4){return Is(e5,n4)})}(e4,t4)});function Ls(e4,t4){if(e4==null)return{};var n4=Rt(to(e4),function(e5){return[e5]});return t4=oo(t4),Br(e4,n4,function(e5,n5){return t4(e5,n5[0])})}var Cs=zi(js),Fs=zi(Rs);function Vs(e4){return e4==null?[]:Qt(e4,js(e4))}var Us=Di(function(e4,t4,n4){return t4=t4.toLowerCase(),e4+(n4?$s(t4):t4)});function $s(e4){return Js(ys(e4).toLowerCase())}function Bs(e4){return(e4=ys(e4))&&e4.replace(ge,en).replace(Ke,"")}var Hs=Di(function(e4,t4,n4){return e4+(n4?"-":"")+t4.toLowerCase()}),Gs=Di(function(e4,t4,n4){return e4+(n4?" ":"")+t4.toLowerCase()}),qs=Pi("toLowerCase"),Ws=Di(function(e4,t4,n4){return e4+(n4?"_":"")+t4.toLowerCase()}),zs=Di(function(e4,t4,n4){return e4+(n4?" ":"")+Js(t4)}),Ys=Di(function(e4,t4,n4){return e4+(n4?" ":"")+t4.toUpperCase()}),Js=Pi("toUpperCase");function Qs(e4,t4,n4){return e4=ys(e4),(t4=n4?i:t4)===i?function(e5){return tt.test(e5)}(e4)?function(e5){return e5.match(Ze)||[]}(e4):function(e5){return e5.match(ue)||[]}(e4):e4.match(t4)||[]}var Ks=zr(function(e4,t4){try{return Ot(e4,i,t4)}catch(e5){return Ja(e5)?e5:new Ee2(e5)}}),Xs=Zi(function(e4,t4){return Nt(t4,function(t5){t5=Lo(t5),rr(e4,t5,xa(e4[t5],e4))}),e4});function Zs(e4){return function(){return e4}}var eu=Li(),tu=Li(!0);function nu(e4){return e4}function ru(e4){return Dr(typeof e4=="function"?e4:ar(e4,1))}var iu=zr(function(e4,t4){return function(n4){return xr(n4,e4,t4)}}),ou=zr(function(e4,t4){return function(n4){return xr(e4,n4,t4)}});function au(e4,t4,n4){var r4=js(t4),i2=_r(t4,r4);n4!=null||Za(t4)&&(i2.length||!r4.length)||(n4=t4,t4=e4,e4=this,i2=_r(t4,js(t4)));var o2=!(Za(n4)&&"chain"in n4&&!n4.chain),a2=Qa(e4);return Nt(i2,function(n5){var r5=t4[n5];e4[n5]=r5,a2&&(e4.prototype[n5]=function(){var t5=this.__chain__;if(o2||t5){var n6=e4(this.__wrapped__);return(n6.__actions__=Ii(this.__actions__)).push({func:r5,args:arguments,thisArg:e4}),n6.__chain__=t5,n6}return r5.apply(e4,Pt([this.value()],arguments))})}),e4}function su(){}var uu=Ui(Rt),cu=Ui(St),lu=Ui(Mt);function fu(e4){return go(e4)?Ht(Lo(e4)):function(e5){return function(t4){return Er(t4,e5)}}(e4)}var pu=Bi(),du=Bi(!0);function hu(){return[]}function vu(){return!1}var mu,yu=Vi(function(e4,t4){return e4+t4},0),gu=qi("ceil"),bu=Vi(function(e4,t4){return e4/t4},1),_u=qi("floor"),Eu=Vi(function(e4,t4){return e4*t4},1),wu=qi("round"),Ou=Vi(function(e4,t4){return e4-t4},0);return Fn.after=function(e4,t4){if(typeof t4!="function")throw new Se2(o);return e4=ds(e4),function(){if(--e4<1)return t4.apply(this,arguments)}},Fn.ary=Ia,Fn.assign=gs,Fn.assignIn=bs,Fn.assignInWith=_s,Fn.assignWith=Es,Fn.at=ws,Fn.before=Sa,Fn.bind=xa,Fn.bindAll=Xs,Fn.bindKey=Aa,Fn.castArray=function(){if(!arguments.length)return[];var e4=arguments[0];return Ha(e4)?e4:[e4]},Fn.chain=fa,Fn.chunk=function(e4,t4,n4){t4=(n4?yo(e4,t4,n4):t4===i)?1:mn(ds(t4),0);var o2=e4==null?0:e4.length;if(!o2||t4<1)return[];for(var a2=0,s2=0,u2=r3(pt2(o2/t4));a2<o2;)u2[s2++]=ei(e4,a2,a2+=t4);return u2},Fn.compact=function(e4){for(var t4=-1,n4=e4==null?0:e4.length,r4=0,i2=[];++t4<n4;){var o2=e4[t4];o2&&(i2[r4++]=o2)}return i2},Fn.concat=function(){var e4=arguments.length;if(!e4)return[];for(var t4=r3(e4-1),n4=arguments[0],i2=e4;i2--;)t4[i2-1]=arguments[i2];return Pt(Ha(n4)?Ii(n4):[n4],vr(t4,1))},Fn.cond=function(e4){var t4=e4==null?0:e4.length,n4=oo();return e4=t4?Rt(e4,function(e5){if(typeof e5[1]!="function")throw new Se2(o);return[n4(e5[0]),e5[1]]}):[],zr(function(n5){for(var r4=-1;++r4<t4;){var i2=e4[r4];if(Ot(i2[0],this,n5))return Ot(i2[1],this,n5)}})},Fn.conforms=function(e4){return function(e5){var t4=js(e5);return function(n4){return sr(n4,e5,t4)}}(ar(e4,1))},Fn.constant=Zs,Fn.countBy=ha,Fn.create=function(e4,t4){var n4=Vn(e4);return t4==null?n4:nr(n4,t4)},Fn.curry=function e4(t4,n4,r4){var o2=Yi(t4,8,i,i,i,i,i,n4=r4?i:n4);return o2.placeholder=e4.placeholder,o2},Fn.curryRight=function e4(t4,n4,r4){var o2=Yi(t4,16,i,i,i,i,i,n4=r4?i:n4);return o2.placeholder=e4.placeholder,o2},Fn.debounce=ja,Fn.defaults=Os,Fn.defaultsDeep=Ts,Fn.defer=Ra,Fn.delay=Pa,Fn.difference=Vo,Fn.differenceBy=Uo,Fn.differenceWith=$o,Fn.drop=function(e4,t4,n4){var r4=e4==null?0:e4.length;return r4?ei(e4,(t4=n4||t4===i?1:ds(t4))<0?0:t4,r4):[]},Fn.dropRight=function(e4,t4,n4){var r4=e4==null?0:e4.length;return r4?ei(e4,0,(t4=r4-(t4=n4||t4===i?1:ds(t4)))<0?0:t4):[]},Fn.dropRightWhile=function(e4,t4){return e4&&e4.length?li(e4,oo(t4,3),!0,!0):[]},Fn.dropWhile=function(e4,t4){return e4&&e4.length?li(e4,oo(t4,3),!0):[]},Fn.fill=function(e4,t4,n4,r4){var o2=e4==null?0:e4.length;return o2?(n4&&typeof n4!="number"&&yo(e4,t4,n4)&&(n4=0,r4=o2),function(e5,t5,n5,r5){var o3=e5.length;for((n5=ds(n5))<0&&(n5=-n5>o3?0:o3+n5),(r5=r5===i||r5>o3?o3:ds(r5))<0&&(r5+=o3),r5=n5>r5?0:hs(r5);n5<r5;)e5[n5++]=t5;return e5}(e4,t4,n4,r4)):[]},Fn.filter=function(e4,t4){return(Ha(e4)?xt:hr)(e4,oo(t4,3))},Fn.flatMap=function(e4,t4){return vr(wa(e4,t4),1)},Fn.flatMapDeep=function(e4,t4){return vr(wa(e4,t4),l)},Fn.flatMapDepth=function(e4,t4,n4){return n4=n4===i?1:ds(n4),vr(wa(e4,t4),n4)},Fn.flatten=Go,Fn.flattenDeep=function(e4){return e4!=null&&e4.length?vr(e4,l):[]},Fn.flattenDepth=function(e4,t4){return e4!=null&&e4.length?vr(e4,t4=t4===i?1:ds(t4)):[]},Fn.flip=function(e4){return Yi(e4,512)},Fn.flow=eu,Fn.flowRight=tu,Fn.fromPairs=function(e4){for(var t4=-1,n4=e4==null?0:e4.length,r4={};++t4<n4;){var i2=e4[t4];r4[i2[0]]=i2[1]}return r4},Fn.functions=function(e4){return e4==null?[]:_r(e4,js(e4))},Fn.functionsIn=function(e4){return e4==null?[]:_r(e4,Rs(e4))},Fn.groupBy=ba,Fn.initial=function(e4){return e4!=null&&e4.length?ei(e4,0,-1):[]},Fn.intersection=Wo,Fn.intersectionBy=zo,Fn.intersectionWith=Yo,Fn.invert=Ss,Fn.invertBy=xs,Fn.invokeMap=_a,Fn.iteratee=ru,Fn.keyBy=Ea,Fn.keys=js,Fn.keysIn=Rs,Fn.map=wa,Fn.mapKeys=function(e4,t4){var n4={};return t4=oo(t4,3),gr(e4,function(e5,r4,i2){rr(n4,t4(e5,r4,i2),e5)}),n4},Fn.mapValues=function(e4,t4){var n4={};return t4=oo(t4,3),gr(e4,function(e5,r4,i2){rr(n4,r4,t4(e5,r4,i2))}),n4},Fn.matches=function(e4){return Cr(ar(e4,1))},Fn.matchesProperty=function(e4,t4){return Fr(e4,ar(t4,1))},Fn.memoize=Da,Fn.merge=Ps,Fn.mergeWith=Ds,Fn.method=iu,Fn.methodOf=ou,Fn.mixin=au,Fn.negate=ka,Fn.nthArg=function(e4){return e4=ds(e4),zr(function(t4){return Ur(t4,e4)})},Fn.omit=ks,Fn.omitBy=function(e4,t4){return Ls(e4,ka(oo(t4)))},Fn.once=function(e4){return Sa(2,e4)},Fn.orderBy=function(e4,t4,n4,r4){return e4==null?[]:(Ha(t4)||(t4=t4==null?[]:[t4]),Ha(n4=r4?i:n4)||(n4=n4==null?[]:[n4]),$r(e4,t4,n4))},Fn.over=uu,Fn.overArgs=Ma,Fn.overEvery=cu,Fn.overSome=lu,Fn.partial=La,Fn.partialRight=Ca,Fn.partition=Oa,Fn.pick=Ms,Fn.pickBy=Ls,Fn.property=fu,Fn.propertyOf=function(e4){return function(t4){return e4==null?i:Er(e4,t4)}},Fn.pull=Qo,Fn.pullAll=Ko,Fn.pullAllBy=function(e4,t4,n4){return e4&&e4.length&&t4&&t4.length?Hr(e4,t4,oo(n4,2)):e4},Fn.pullAllWith=function(e4,t4,n4){return e4&&e4.length&&t4&&t4.length?Hr(e4,t4,i,n4):e4},Fn.pullAt=Xo,Fn.range=pu,Fn.rangeRight=du,Fn.rearg=Fa,Fn.reject=function(e4,t4){return(Ha(e4)?xt:hr)(e4,ka(oo(t4,3)))},Fn.remove=function(e4,t4){var n4=[];if(!e4||!e4.length)return n4;var r4=-1,i2=[],o2=e4.length;for(t4=oo(t4,3);++r4<o2;){var a2=e4[r4];t4(a2,r4,e4)&&(n4.push(a2),i2.push(r4))}return Gr(e4,i2),n4},Fn.rest=function(e4,t4){if(typeof e4!="function")throw new Se2(o);return zr(e4,t4=t4===i?t4:ds(t4))},Fn.reverse=Zo,Fn.sampleSize=function(e4,t4,n4){return t4=(n4?yo(e4,t4,n4):t4===i)?1:ds(t4),(Ha(e4)?Qn:Jr)(e4,t4)},Fn.set=function(e4,t4,n4){return e4==null?e4:Qr(e4,t4,n4)},Fn.setWith=function(e4,t4,n4,r4){return r4=typeof r4=="function"?r4:i,e4==null?e4:Qr(e4,t4,n4,r4)},Fn.shuffle=function(e4){return(Ha(e4)?Kn:Zr)(e4)},Fn.slice=function(e4,t4,n4){var r4=e4==null?0:e4.length;return r4?(n4&&typeof n4!="number"&&yo(e4,t4,n4)?(t4=0,n4=r4):(t4=t4==null?0:ds(t4),n4=n4===i?r4:ds(n4)),ei(e4,t4,n4)):[]},Fn.sortBy=Ta,Fn.sortedUniq=function(e4){return e4&&e4.length?ii(e4):[]},Fn.sortedUniqBy=function(e4,t4){return e4&&e4.length?ii(e4,oo(t4,2)):[]},Fn.split=function(e4,t4,n4){return n4&&typeof n4!="number"&&yo(e4,t4,n4)&&(t4=n4=i),(n4=n4===i?d:n4>>>0)?(e4=ys(e4))&&(typeof t4=="string"||t4!=null&&!is(t4))&&!(t4=ai(t4))&&rn(e4)?gi(fn(e4),0,n4):e4.split(t4,n4):[]},Fn.spread=function(e4,t4){if(typeof e4!="function")throw new Se2(o);return t4=t4==null?0:mn(ds(t4),0),zr(function(n4){var r4=n4[t4],i2=gi(n4,0,t4);return r4&&Pt(i2,r4),Ot(e4,this,i2)})},Fn.tail=function(e4){var t4=e4==null?0:e4.length;return t4?ei(e4,1,t4):[]},Fn.take=function(e4,t4,n4){return e4&&e4.length?ei(e4,0,(t4=n4||t4===i?1:ds(t4))<0?0:t4):[]},Fn.takeRight=function(e4,t4,n4){var r4=e4==null?0:e4.length;return r4?ei(e4,(t4=r4-(t4=n4||t4===i?1:ds(t4)))<0?0:t4,r4):[]},Fn.takeRightWhile=function(e4,t4){return e4&&e4.length?li(e4,oo(t4,3),!1,!0):[]},Fn.takeWhile=function(e4,t4){return e4&&e4.length?li(e4,oo(t4,3)):[]},Fn.tap=function(e4,t4){return t4(e4),e4},Fn.throttle=function(e4,t4,n4){var r4=!0,i2=!0;if(typeof e4!="function")throw new Se2(o);return Za(n4)&&(r4="leading"in n4?!!n4.leading:r4,i2="trailing"in n4?!!n4.trailing:i2),ja(e4,t4,{leading:r4,maxWait:t4,trailing:i2})},Fn.thru=pa,Fn.toArray=fs,Fn.toPairs=Cs,Fn.toPairsIn=Fs,Fn.toPath=function(e4){return Ha(e4)?Rt(e4,Lo):ss(e4)?[e4]:Ii(Mo(ys(e4)))},Fn.toPlainObject=ms,Fn.transform=function(e4,t4,n4){var r4=Ha(e4),i2=r4||za(e4)||us(e4);if(t4=oo(t4,4),n4==null){var o2=e4&&e4.constructor;n4=i2?r4?new o2:[]:Za(e4)&&Qa(o2)?Vn(Ge2(e4)):{}}return(i2?Nt:gr)(e4,function(e5,r5,i3){return t4(n4,e5,r5,i3)}),n4},Fn.unary=function(e4){return Ia(e4,1)},Fn.union=ea,Fn.unionBy=ta,Fn.unionWith=na,Fn.uniq=function(e4){return e4&&e4.length?si(e4):[]},Fn.uniqBy=function(e4,t4){return e4&&e4.length?si(e4,oo(t4,2)):[]},Fn.uniqWith=function(e4,t4){return t4=typeof t4=="function"?t4:i,e4&&e4.length?si(e4,i,t4):[]},Fn.unset=function(e4,t4){return e4==null||ui(e4,t4)},Fn.unzip=ra,Fn.unzipWith=ia,Fn.update=function(e4,t4,n4){return e4==null?e4:ci(e4,t4,vi(n4))},Fn.updateWith=function(e4,t4,n4,r4){return r4=typeof r4=="function"?r4:i,e4==null?e4:ci(e4,t4,vi(n4),r4)},Fn.values=Vs,Fn.valuesIn=function(e4){return e4==null?[]:Qt(e4,Rs(e4))},Fn.without=oa,Fn.words=Qs,Fn.wrap=function(e4,t4){return La(vi(t4),e4)},Fn.xor=aa,Fn.xorBy=sa,Fn.xorWith=ua,Fn.zip=ca,Fn.zipObject=function(e4,t4){return di(e4||[],t4||[],Zn)},Fn.zipObjectDeep=function(e4,t4){return di(e4||[],t4||[],Qr)},Fn.zipWith=la,Fn.entries=Cs,Fn.entriesIn=Fs,Fn.extend=bs,Fn.extendWith=_s,au(Fn,Fn),Fn.add=yu,Fn.attempt=Ks,Fn.camelCase=Us,Fn.capitalize=$s,Fn.ceil=gu,Fn.clamp=function(e4,t4,n4){return n4===i&&(n4=t4,t4=i),n4!==i&&(n4=(n4=vs(n4))==n4?n4:0),t4!==i&&(t4=(t4=vs(t4))==t4?t4:0),or(vs(e4),t4,n4)},Fn.clone=function(e4){return ar(e4,4)},Fn.cloneDeep=function(e4){return ar(e4,5)},Fn.cloneDeepWith=function(e4,t4){return ar(e4,5,t4=typeof t4=="function"?t4:i)},Fn.cloneWith=function(e4,t4){return ar(e4,4,t4=typeof t4=="function"?t4:i)},Fn.conformsTo=function(e4,t4){return t4==null||sr(e4,t4,js(t4))},Fn.deburr=Bs,Fn.defaultTo=function(e4,t4){return e4==null||e4!=e4?t4:e4},Fn.divide=bu,Fn.endsWith=function(e4,t4,n4){e4=ys(e4),t4=ai(t4);var r4=e4.length,o2=n4=n4===i?r4:or(ds(n4),0,r4);return(n4-=t4.length)>=0&&e4.slice(n4,o2)==t4},Fn.eq=Va,Fn.escape=function(e4){return(e4=ys(e4))&&Y.test(e4)?e4.replace(W,tn):e4},Fn.escapeRegExp=function(e4){return(e4=ys(e4))&&ne.test(e4)?e4.replace(te,"\\$&"):e4},Fn.every=function(e4,t4,n4){var r4=Ha(e4)?St:pr;return n4&&yo(e4,t4,n4)&&(t4=i),r4(e4,oo(t4,3))},Fn.find=va,Fn.findIndex=Bo,Fn.findKey=function(e4,t4){return Ct(e4,oo(t4,3),gr)},Fn.findLast=ma,Fn.findLastIndex=Ho,Fn.findLastKey=function(e4,t4){return Ct(e4,oo(t4,3),br)},Fn.floor=_u,Fn.forEach=ya,Fn.forEachRight=ga,Fn.forIn=function(e4,t4){return e4==null?e4:mr(e4,oo(t4,3),Rs)},Fn.forInRight=function(e4,t4){return e4==null?e4:yr(e4,oo(t4,3),Rs)},Fn.forOwn=function(e4,t4){return e4&&gr(e4,oo(t4,3))},Fn.forOwnRight=function(e4,t4){return e4&&br(e4,oo(t4,3))},Fn.get=Ns,Fn.gt=Ua,Fn.gte=$a,Fn.has=function(e4,t4){return e4!=null&&po(e4,t4,Nr)},Fn.hasIn=Is,Fn.head=qo,Fn.identity=nu,Fn.includes=function(e4,t4,n4,r4){e4=qa(e4)?e4:Vs(e4),n4=n4&&!r4?ds(n4):0;var i2=e4.length;return n4<0&&(n4=mn(i2+n4,0)),as(e4)?n4<=i2&&e4.indexOf(t4,n4)>-1:!!i2&&Vt(e4,t4,n4)>-1},Fn.indexOf=function(e4,t4,n4){var r4=e4==null?0:e4.length;if(!r4)return-1;var i2=n4==null?0:ds(n4);return i2<0&&(i2=mn(r4+i2,0)),Vt(e4,t4,i2)},Fn.inRange=function(e4,t4,n4){return t4=ps(t4),n4===i?(n4=t4,t4=0):n4=ps(n4),function(e5,t5,n5){return e5>=yn(t5,n5)&&e5<mn(t5,n5)}(e4=vs(e4),t4,n4)},Fn.invoke=As,Fn.isArguments=Ba,Fn.isArray=Ha,Fn.isArrayBuffer=Ga,Fn.isArrayLike=qa,Fn.isArrayLikeObject=Wa,Fn.isBoolean=function(e4){return e4===!0||e4===!1||es(e4)&&Or(e4)==y},Fn.isBuffer=za,Fn.isDate=Ya,Fn.isElement=function(e4){return es(e4)&&e4.nodeType===1&&!rs(e4)},Fn.isEmpty=function(e4){if(e4==null)return!0;if(qa(e4)&&(Ha(e4)||typeof e4=="string"||typeof e4.splice=="function"||za(e4)||us(e4)||Ba(e4)))return!e4.length;var t4=fo(e4);if(t4==w||t4==S)return!e4.size;if(Eo(e4))return!kr(e4).length;for(var n4 in e4)if(De2.call(e4,n4))return!1;return!0},Fn.isEqual=function(e4,t4){return jr(e4,t4)},Fn.isEqualWith=function(e4,t4,n4){var r4=(n4=typeof n4=="function"?n4:i)?n4(e4,t4):i;return r4===i?jr(e4,t4,i,n4):!!r4},Fn.isError=Ja,Fn.isFinite=function(e4){return typeof e4=="number"&&Lt2(e4)},Fn.isFunction=Qa,Fn.isInteger=Ka,Fn.isLength=Xa,Fn.isMap=ts,Fn.isMatch=function(e4,t4){return e4===t4||Rr(e4,t4,so(t4))},Fn.isMatchWith=function(e4,t4,n4){return n4=typeof n4=="function"?n4:i,Rr(e4,t4,so(t4),n4)},Fn.isNaN=function(e4){return ns(e4)&&e4!=+e4},Fn.isNative=function(e4){if(_o(e4))throw new Ee2("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Pr(e4)},Fn.isNil=function(e4){return e4==null},Fn.isNull=function(e4){return e4===null},Fn.isNumber=ns,Fn.isObject=Za,Fn.isObjectLike=es,Fn.isPlainObject=rs,Fn.isRegExp=is,Fn.isSafeInteger=function(e4){return Ka(e4)&&e4>=-9007199254740991&&e4<=f},Fn.isSet=os,Fn.isString=as,Fn.isSymbol=ss,Fn.isTypedArray=us,Fn.isUndefined=function(e4){return e4===i},Fn.isWeakMap=function(e4){return es(e4)&&fo(e4)==j},Fn.isWeakSet=function(e4){return es(e4)&&Or(e4)=="[object WeakSet]"},Fn.join=function(e4,t4){return e4==null?"":Gt2.call(e4,t4)},Fn.kebabCase=Hs,Fn.last=Jo,Fn.lastIndexOf=function(e4,t4,n4){var r4=e4==null?0:e4.length;if(!r4)return-1;var o2=r4;return n4!==i&&(o2=(o2=ds(n4))<0?mn(r4+o2,0):yn(o2,r4-1)),t4==t4?function(e5,t5,n5){for(var r5=n5+1;r5--;)if(e5[r5]===t5)return r5;return r5}(e4,t4,o2):Ft(e4,$t,o2,!0)},Fn.lowerCase=Gs,Fn.lowerFirst=qs,Fn.lt=cs,Fn.lte=ls,Fn.max=function(e4){return e4&&e4.length?dr(e4,nu,Tr):i},Fn.maxBy=function(e4,t4){return e4&&e4.length?dr(e4,oo(t4,2),Tr):i},Fn.mean=function(e4){return Bt(e4,nu)},Fn.meanBy=function(e4,t4){return Bt(e4,oo(t4,2))},Fn.min=function(e4){return e4&&e4.length?dr(e4,nu,Mr):i},Fn.minBy=function(e4,t4){return e4&&e4.length?dr(e4,oo(t4,2),Mr):i},Fn.stubArray=hu,Fn.stubFalse=vu,Fn.stubObject=function(){return{}},Fn.stubString=function(){return""},Fn.stubTrue=function(){return!0},Fn.multiply=Eu,Fn.nth=function(e4,t4){return e4&&e4.length?Ur(e4,ds(t4)):i},Fn.noConflict=function(){return ft._===this&&(ft._=Fe2),this},Fn.noop=su,Fn.now=Na,Fn.pad=function(e4,t4,n4){e4=ys(e4);var r4=(t4=ds(t4))?ln(e4):0;if(!t4||r4>=t4)return e4;var i2=(t4-r4)/2;return $i(dt2(i2),n4)+e4+$i(pt2(i2),n4)},Fn.padEnd=function(e4,t4,n4){e4=ys(e4);var r4=(t4=ds(t4))?ln(e4):0;return t4&&r4<t4?e4+$i(t4-r4,n4):e4},Fn.padStart=function(e4,t4,n4){e4=ys(e4);var r4=(t4=ds(t4))?ln(e4):0;return t4&&r4<t4?$i(t4-r4,n4)+e4:e4},Fn.parseInt=function(e4,t4,n4){return n4||t4==null?t4=0:t4&&(t4=+t4),bn(ys(e4).replace(re,""),t4||0)},Fn.random=function(e4,t4,n4){if(n4&&typeof n4!="boolean"&&yo(e4,t4,n4)&&(t4=n4=i),n4===i&&(typeof t4=="boolean"?(n4=t4,t4=i):typeof e4=="boolean"&&(n4=e4,e4=i)),e4===i&&t4===i?(e4=0,t4=1):(e4=ps(e4),t4===i?(t4=e4,e4=0):t4=ps(t4)),e4>t4){var r4=e4;e4=t4,t4=r4}if(n4||e4%1||t4%1){var o2=_n();return yn(e4+o2*(t4-e4+st("1e-"+((o2+"").length-1))),t4)}return qr(e4,t4)},Fn.reduce=function(e4,t4,n4){var r4=Ha(e4)?Dt:qt,i2=arguments.length<3;return r4(e4,oo(t4,4),n4,i2,lr)},Fn.reduceRight=function(e4,t4,n4){var r4=Ha(e4)?kt:qt,i2=arguments.length<3;return r4(e4,oo(t4,4),n4,i2,fr)},Fn.repeat=function(e4,t4,n4){return t4=(n4?yo(e4,t4,n4):t4===i)?1:ds(t4),Wr(ys(e4),t4)},Fn.replace=function(){var e4=arguments,t4=ys(e4[0]);return e4.length<3?t4:t4.replace(e4[1],e4[2])},Fn.result=function(e4,t4,n4){var r4=-1,o2=(t4=mi(t4,e4)).length;for(o2||(o2=1,e4=i);++r4<o2;){var a2=e4==null?i:e4[Lo(t4[r4])];a2===i&&(r4=o2,a2=n4),e4=Qa(a2)?a2.call(e4):a2}return e4},Fn.round=wu,Fn.runInContext=e3,Fn.sample=function(e4){return(Ha(e4)?Jn:Yr)(e4)},Fn.size=function(e4){if(e4==null)return 0;if(qa(e4))return as(e4)?ln(e4):e4.length;var t4=fo(e4);return t4==w||t4==S?e4.size:kr(e4).length},Fn.snakeCase=Ws,Fn.some=function(e4,t4,n4){var r4=Ha(e4)?Mt:ti;return n4&&yo(e4,t4,n4)&&(t4=i),r4(e4,oo(t4,3))},Fn.sortedIndex=function(e4,t4){return ni(e4,t4)},Fn.sortedIndexBy=function(e4,t4,n4){return ri(e4,t4,oo(n4,2))},Fn.sortedIndexOf=function(e4,t4){var n4=e4==null?0:e4.length;if(n4){var r4=ni(e4,t4);if(r4<n4&&Va(e4[r4],t4))return r4}return-1},Fn.sortedLastIndex=function(e4,t4){return ni(e4,t4,!0)},Fn.sortedLastIndexBy=function(e4,t4,n4){return ri(e4,t4,oo(n4,2),!0)},Fn.sortedLastIndexOf=function(e4,t4){if(e4!=null&&e4.length){var n4=ni(e4,t4,!0)-1;if(Va(e4[n4],t4))return n4}return-1},Fn.startCase=zs,Fn.startsWith=function(e4,t4,n4){return e4=ys(e4),n4=n4==null?0:or(ds(n4),0,e4.length),t4=ai(t4),e4.slice(n4,n4+t4.length)==t4},Fn.subtract=Ou,Fn.sum=function(e4){return e4&&e4.length?Wt(e4,nu):0},Fn.sumBy=function(e4,t4){return e4&&e4.length?Wt(e4,oo(t4,2)):0},Fn.template=function(e4,t4,n4){var r4=Fn.templateSettings;n4&&yo(e4,t4,n4)&&(t4=i),e4=ys(e4),t4=_s({},t4,r4,Ji);var o2,a2,s2=_s({},t4.imports,r4.imports,Ji),u2=js(s2),c2=Qt(s2,u2),l2=0,f2=t4.interpolate||be,p2="__p += '",d2=Ne2((t4.escape||be).source+"|"+f2.source+"|"+(f2===K?fe:be).source+"|"+(t4.evaluate||be).source+"|$","g"),h2="//# sourceURL="+(De2.call(t4,"sourceURL")?(t4.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rt+"]")+`
|
16
|
-
`;e4.replace(d2,function(t5,n5,r5,i2,s3,u3){return r5||(r5=i2),p2+=e4.slice(l2,u3).replace(_e,nn),n5&&(o2=!0,p2+=`' +
|
17
|
-
__e(`+n5+`) +
|
18
|
-
'`),s3&&(a2=!0,p2+=`';
|
19
|
-
`+s3+`;
|
20
|
-
__p += '`),r5&&(p2+=`' +
|
21
|
-
((__t = (`+r5+`)) == null ? '' : __t) +
|
22
|
-
'`),l2=u3+t5.length,t5}),p2+=`';
|
23
|
-
`;var v2=De2.call(t4,"variable")&&t4.variable;if(v2){if(ce.test(v2))throw new Ee2("Invalid `variable` option passed into `_.template`")}else p2=`with (obj) {
|
24
|
-
`+p2+`
|
25
|
-
}
|
26
|
-
`;p2=(a2?p2.replace(B,""):p2).replace(H,"$1").replace(G,"$1;"),p2="function("+(v2||"obj")+`) {
|
27
|
-
`+(v2?"":`obj || (obj = {});
|
28
|
-
`)+"var __t, __p = ''"+(o2?", __e = _.escape":"")+(a2?`, __j = Array.prototype.join;
|
29
|
-
function print() { __p += __j.call(arguments, '') }
|
30
|
-
`:`;
|
31
|
-
`)+p2+`return __p
|
32
|
-
}`;var m2=Ks(function(){return we2(u2,h2+"return "+p2).apply(i,c2)});if(m2.source=p2,Ja(m2))throw m2;return m2},Fn.times=function(e4,t4){if((e4=ds(e4))<1||e4>f)return[];var n4=d,r4=yn(e4,d);t4=oo(t4),e4-=d;for(var i2=zt(r4,t4);++n4<e4;)t4(n4);return i2},Fn.toFinite=ps,Fn.toInteger=ds,Fn.toLength=hs,Fn.toLower=function(e4){return ys(e4).toLowerCase()},Fn.toNumber=vs,Fn.toSafeInteger=function(e4){return e4?or(ds(e4),-9007199254740991,f):e4===0?e4:0},Fn.toString=ys,Fn.toUpper=function(e4){return ys(e4).toUpperCase()},Fn.trim=function(e4,t4,n4){if((e4=ys(e4))&&(n4||t4===i))return Yt(e4);if(!e4||!(t4=ai(t4)))return e4;var r4=fn(e4),o2=fn(t4);return gi(r4,Xt(r4,o2),Zt(r4,o2)+1).join("")},Fn.trimEnd=function(e4,t4,n4){if((e4=ys(e4))&&(n4||t4===i))return e4.slice(0,pn(e4)+1);if(!e4||!(t4=ai(t4)))return e4;var r4=fn(e4);return gi(r4,0,Zt(r4,fn(t4))+1).join("")},Fn.trimStart=function(e4,t4,n4){if((e4=ys(e4))&&(n4||t4===i))return e4.replace(re,"");if(!e4||!(t4=ai(t4)))return e4;var r4=fn(e4);return gi(r4,Xt(r4,fn(t4))).join("")},Fn.truncate=function(e4,t4){var n4=30,r4="...";if(Za(t4)){var o2="separator"in t4?t4.separator:o2;n4="length"in t4?ds(t4.length):n4,r4="omission"in t4?ai(t4.omission):r4}var a2=(e4=ys(e4)).length;if(rn(e4)){var s2=fn(e4);a2=s2.length}if(n4>=a2)return e4;var u2=n4-ln(r4);if(u2<1)return r4;var c2=s2?gi(s2,0,u2).join(""):e4.slice(0,u2);if(o2===i)return c2+r4;if(s2&&(u2+=c2.length-u2),is(o2)){if(e4.slice(u2).search(o2)){var l2,f2=c2;for(o2.global||(o2=Ne2(o2.source,ys(pe.exec(o2))+"g")),o2.lastIndex=0;l2=o2.exec(f2);)var p2=l2.index;c2=c2.slice(0,p2===i?u2:p2)}}else if(e4.indexOf(ai(o2),u2)!=u2){var d2=c2.lastIndexOf(o2);d2>-1&&(c2=c2.slice(0,d2))}return c2+r4},Fn.unescape=function(e4){return(e4=ys(e4))&&z.test(e4)?e4.replace(q,dn):e4},Fn.uniqueId=function(e4){var t4=++ke2;return ys(e4)+t4},Fn.upperCase=Ys,Fn.upperFirst=Js,Fn.each=ya,Fn.eachRight=ga,Fn.first=qo,au(Fn,(mu={},gr(Fn,function(e4,t4){De2.call(Fn.prototype,t4)||(mu[t4]=e4)}),mu),{chain:!1}),Fn.VERSION="4.17.21",Nt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e4){Fn[e4].placeholder=Fn}),Nt(["drop","take"],function(e4,t4){Bn.prototype[e4]=function(n4){n4=n4===i?1:mn(ds(n4),0);var r4=this.__filtered__&&!t4?new Bn(this):this.clone();return r4.__filtered__?r4.__takeCount__=yn(n4,r4.__takeCount__):r4.__views__.push({size:yn(n4,d),type:e4+(r4.__dir__<0?"Right":"")}),r4},Bn.prototype[e4+"Right"]=function(t5){return this.reverse()[e4](t5).reverse()}}),Nt(["filter","map","takeWhile"],function(e4,t4){var n4=t4+1,r4=n4==1||n4==3;Bn.prototype[e4]=function(e5){var t5=this.clone();return t5.__iteratees__.push({iteratee:oo(e5,3),type:n4}),t5.__filtered__=t5.__filtered__||r4,t5}}),Nt(["head","last"],function(e4,t4){var n4="take"+(t4?"Right":"");Bn.prototype[e4]=function(){return this[n4](1).value()[0]}}),Nt(["initial","tail"],function(e4,t4){var n4="drop"+(t4?"":"Right");Bn.prototype[e4]=function(){return this.__filtered__?new Bn(this):this[n4](1)}}),Bn.prototype.compact=function(){return this.filter(nu)},Bn.prototype.find=function(e4){return this.filter(e4).head()},Bn.prototype.findLast=function(e4){return this.reverse().find(e4)},Bn.prototype.invokeMap=zr(function(e4,t4){return typeof e4=="function"?new Bn(this):this.map(function(n4){return xr(n4,e4,t4)})}),Bn.prototype.reject=function(e4){return this.filter(ka(oo(e4)))},Bn.prototype.slice=function(e4,t4){e4=ds(e4);var n4=this;return n4.__filtered__&&(e4>0||t4<0)?new Bn(n4):(e4<0?n4=n4.takeRight(-e4):e4&&(n4=n4.drop(e4)),t4!==i&&(n4=(t4=ds(t4))<0?n4.dropRight(-t4):n4.take(t4-e4)),n4)},Bn.prototype.takeRightWhile=function(e4){return this.reverse().takeWhile(e4).reverse()},Bn.prototype.toArray=function(){return this.take(d)},gr(Bn.prototype,function(e4,t4){var n4=/^(?:filter|find|map|reject)|While$/.test(t4),r4=/^(?:head|last)$/.test(t4),o2=Fn[r4?"take"+(t4=="last"?"Right":""):t4],a2=r4||/^find/.test(t4);o2&&(Fn.prototype[t4]=function(){var t5=this.__wrapped__,s2=r4?[1]:arguments,u2=t5 instanceof Bn,c2=s2[0],l2=u2||Ha(t5),f2=function(e5){var t6=o2.apply(Fn,Pt([e5],s2));return r4&&p2?t6[0]:t6};l2&&n4&&typeof c2=="function"&&c2.length!=1&&(u2=l2=!1);var p2=this.__chain__,d2=!!this.__actions__.length,h2=a2&&!p2,v2=u2&&!d2;if(!a2&&l2){t5=v2?t5:new Bn(this);var m2=e4.apply(t5,s2);return m2.__actions__.push({func:pa,args:[f2],thisArg:i}),new $n(m2,p2)}return h2&&v2?e4.apply(this,s2):(m2=this.thru(f2),h2?r4?m2.value()[0]:m2.value():m2)})}),Nt(["pop","push","shift","sort","splice","unshift"],function(e4){var t4=xe2[e4],n4=/^(?:push|sort|unshift)$/.test(e4)?"tap":"thru",r4=/^(?:pop|shift)$/.test(e4);Fn.prototype[e4]=function(){var e5=arguments;if(r4&&!this.__chain__){var i2=this.value();return t4.apply(Ha(i2)?i2:[],e5)}return this[n4](function(n5){return t4.apply(Ha(n5)?n5:[],e5)})}}),gr(Bn.prototype,function(e4,t4){var n4=Fn[t4];if(n4){var r4=n4.name+"";De2.call(An,r4)||(An[r4]=[]),An[r4].push({name:t4,func:n4})}}),An[Ci(i,2).name]=[{name:"wrapper",func:i}],Bn.prototype.clone=function(){var e4=new Bn(this.__wrapped__);return e4.__actions__=Ii(this.__actions__),e4.__dir__=this.__dir__,e4.__filtered__=this.__filtered__,e4.__iteratees__=Ii(this.__iteratees__),e4.__takeCount__=this.__takeCount__,e4.__views__=Ii(this.__views__),e4},Bn.prototype.reverse=function(){if(this.__filtered__){var e4=new Bn(this);e4.__dir__=-1,e4.__filtered__=!0}else(e4=this.clone()).__dir__*=-1;return e4},Bn.prototype.value=function(){var e4=this.__wrapped__.value(),t4=this.__dir__,n4=Ha(e4),r4=t4<0,i2=n4?e4.length:0,o2=function(e5,t5,n5){for(var r5=-1,i3=n5.length;++r5<i3;){var o3=n5[r5],a3=o3.size;switch(o3.type){case"drop":e5+=a3;break;case"dropRight":t5-=a3;break;case"take":t5=yn(t5,e5+a3);break;case"takeRight":e5=mn(e5,t5-a3)}}return{start:e5,end:t5}}(0,i2,this.__views__),a2=o2.start,s2=o2.end,u2=s2-a2,c2=r4?s2:a2-1,l2=this.__iteratees__,f2=l2.length,p2=0,d2=yn(u2,this.__takeCount__);if(!n4||!r4&&i2==u2&&d2==u2)return fi(e4,this.__actions__);var h2=[];e:for(;u2--&&p2<d2;){for(var v2=-1,m2=e4[c2+=t4];++v2<f2;){var y2=l2[v2],g2=y2.iteratee,b2=y2.type,_2=g2(m2);if(b2==2)m2=_2;else if(!_2){if(b2==1)continue e;break e}}h2[p2++]=m2}return h2},Fn.prototype.at=da,Fn.prototype.chain=function(){return fa(this)},Fn.prototype.commit=function(){return new $n(this.value(),this.__chain__)},Fn.prototype.next=function(){this.__values__===i&&(this.__values__=fs(this.value()));var e4=this.__index__>=this.__values__.length;return{done:e4,value:e4?i:this.__values__[this.__index__++]}},Fn.prototype.plant=function(e4){for(var t4,n4=this;n4 instanceof Un;){var r4=Fo(n4);r4.__index__=0,r4.__values__=i,t4?o2.__wrapped__=r4:t4=r4;var o2=r4;n4=n4.__wrapped__}return o2.__wrapped__=e4,t4},Fn.prototype.reverse=function(){var e4=this.__wrapped__;if(e4 instanceof Bn){var t4=e4;return this.__actions__.length&&(t4=new Bn(this)),(t4=t4.reverse()).__actions__.push({func:pa,args:[Zo],thisArg:i}),new $n(t4,this.__chain__)}return this.thru(Zo)},Fn.prototype.toJSON=Fn.prototype.valueOf=Fn.prototype.value=function(){return fi(this.__wrapped__,this.__actions__)},Fn.prototype.first=Fn.prototype.head,Je2&&(Fn.prototype[Je2]=function(){return this}),Fn}();ft._=hn,(r2=function(){return hn}.call(t2,n2,t2,e2))===i||(e2.exports=r2)}.call(this)},4099:(e2,t2,n2)=>{"use strict";const r2=n2(8155),i=Symbol("max"),o=Symbol("length"),a=Symbol("lengthCalculator"),s=Symbol("allowStale"),u=Symbol("maxAge"),c=Symbol("dispose"),l=Symbol("noDisposeOnSet"),f=Symbol("lruList"),p=Symbol("cache"),d=Symbol("updateAgeOnGet"),h=()=>1,v=(e3,t3,n3)=>{const r3=e3[p].get(t3);if(r3){const t4=r3.value;if(m(e3,t4)){if(g(e3,r3),!e3[s])return}else n3&&(e3[d]&&(r3.value.now=Date.now()),e3[f].unshiftNode(r3));return t4.value}},m=(e3,t3)=>{if(!t3||!t3.maxAge&&!e3[u])return!1;const n3=Date.now()-t3.now;return t3.maxAge?n3>t3.maxAge:e3[u]&&n3>e3[u]},y=e3=>{if(e3[o]>e3[i])for(let t3=e3[f].tail;e3[o]>e3[i]&&t3!==null;){const n3=t3.prev;g(e3,t3),t3=n3}},g=(e3,t3)=>{if(t3){const n3=t3.value;e3[c]&&e3[c](n3.key,n3.value),e3[o]-=n3.length,e3[p].delete(n3.key),e3[f].removeNode(t3)}};class b{constructor(e3,t3,n3,r3,i2){this.key=e3,this.value=t3,this.length=n3,this.now=r3,this.maxAge=i2||0}}const _=(e3,t3,n3,r3)=>{let i2=n3.value;m(e3,i2)&&(g(e3,n3),e3[s]||(i2=void 0)),i2&&t3.call(r3,i2.value,i2.key,e3)};e2.exports=class{constructor(e3){if(typeof e3=="number"&&(e3={max:e3}),e3||(e3={}),e3.max&&(typeof e3.max!="number"||e3.max<0))throw new TypeError("max must be a non-negative number");this[i]=e3.max||1/0;const t3=e3.length||h;if(this[a]=typeof t3!="function"?h:t3,this[s]=e3.stale||!1,e3.maxAge&&typeof e3.maxAge!="number")throw new TypeError("maxAge must be a number");this[u]=e3.maxAge||0,this[c]=e3.dispose,this[l]=e3.noDisposeOnSet||!1,this[d]=e3.updateAgeOnGet||!1,this.reset()}set max(e3){if(typeof e3!="number"||e3<0)throw new TypeError("max must be a non-negative number");this[i]=e3||1/0,y(this)}get max(){return this[i]}set allowStale(e3){this[s]=!!e3}get allowStale(){return this[s]}set maxAge(e3){if(typeof e3!="number")throw new TypeError("maxAge must be a non-negative number");this[u]=e3,y(this)}get maxAge(){return this[u]}set lengthCalculator(e3){typeof e3!="function"&&(e3=h),e3!==this[a]&&(this[a]=e3,this[o]=0,this[f].forEach(e4=>{e4.length=this[a](e4.value,e4.key),this[o]+=e4.length})),y(this)}get lengthCalculator(){return this[a]}get length(){return this[o]}get itemCount(){return this[f].length}rforEach(e3,t3){t3=t3||this;for(let n3=this[f].tail;n3!==null;){const r3=n3.prev;_(this,e3,n3,t3),n3=r3}}forEach(e3,t3){t3=t3||this;for(let n3=this[f].head;n3!==null;){const r3=n3.next;_(this,e3,n3,t3),n3=r3}}keys(){return this[f].toArray().map(e3=>e3.key)}values(){return this[f].toArray().map(e3=>e3.value)}reset(){this[c]&&this[f]&&this[f].length&&this[f].forEach(e3=>this[c](e3.key,e3.value)),this[p]=new Map,this[f]=new r2,this[o]=0}dump(){return this[f].map(e3=>!m(this,e3)&&{k:e3.key,v:e3.value,e:e3.now+(e3.maxAge||0)}).toArray().filter(e3=>e3)}dumpLru(){return this[f]}set(e3,t3,n3){if((n3=n3||this[u])&&typeof n3!="number")throw new TypeError("maxAge must be a number");const r3=n3?Date.now():0,s2=this[a](t3,e3);if(this[p].has(e3)){if(s2>this[i])return g(this,this[p].get(e3)),!1;const a2=this[p].get(e3).value;return this[c]&&(this[l]||this[c](e3,a2.value)),a2.now=r3,a2.maxAge=n3,a2.value=t3,this[o]+=s2-a2.length,a2.length=s2,this.get(e3),y(this),!0}const d2=new b(e3,t3,s2,r3,n3);return d2.length>this[i]?(this[c]&&this[c](e3,t3),!1):(this[o]+=d2.length,this[f].unshift(d2),this[p].set(e3,this[f].head),y(this),!0)}has(e3){if(!this[p].has(e3))return!1;const t3=this[p].get(e3).value;return!m(this,t3)}get(e3){return v(this,e3,!0)}peek(e3){return v(this,e3,!1)}pop(){const e3=this[f].tail;return e3?(g(this,e3),e3.value):null}del(e3){g(this,this[p].get(e3))}load(e3){this.reset();const t3=Date.now();for(let n3=e3.length-1;n3>=0;n3--){const r3=e3[n3],i2=r3.e||0;if(i2===0)this.set(r3.k,r3.v);else{const e4=i2-t3;e4>0&&this.set(r3.k,r3.v,e4)}}}prune(){this[p].forEach((e3,t3)=>v(this,t3,!1))}}},1906:(e2,t2,n2)=>{"use strict";var r2=n2(2047),i=Object.create,o=Object.prototype.hasOwnProperty;e2.exports=function(e3){var t3,n3=0,a=1,s=i(null),u=i(null),c=0;return e3=r2(e3),{hit:function(r3){var i2=u[r3],l=++c;if(s[l]=r3,u[r3]=l,!i2)return++n3<=e3?void 0:(r3=s[a],t3(r3),r3);if(delete s[i2],a===i2)for(;!o.call(s,++a););},delete:t3=function(e4){var t4=u[e4];if(t4&&(delete s[t4],delete u[e4],--n3,a===t4)){if(!n3)return c=0,void(a=1);for(;!o.call(s,++a););}},clear:function(){n3=0,a=1,s=i(null),u=i(null),c=0}}}},7539:(e2,t2,n2)=>{"use strict";var r2=n2(3583),i=n2(5120),o=n2(559),a=n2(860),s=n2(6663),u=Array.prototype.slice,c=Function.prototype.apply,l=Object.create;n2(6958).async=function(e3,t3){var n3,f,p,d=l(null),h=l(null),v=t3.memoized,m=t3.original;t3.memoized=a(function(e4){var t4=arguments,r3=t4[t4.length-1];return typeof r3=="function"&&(n3=r3,t4=u.call(t4,0,-1)),v.apply(f=this,p=t4)},v);try{o(t3.memoized,v)}catch{}t3.on("get",function(e4){var r3,i2,o2;if(n3){if(d[e4])return typeof d[e4]=="function"?d[e4]=[d[e4],n3]:d[e4].push(n3),void(n3=null);r3=n3,i2=f,o2=p,n3=f=p=null,s(function(){var a2;hasOwnProperty.call(h,e4)?(a2=h[e4],t3.emit("getasync",e4,o2,i2),c.call(r3,a2.context,a2.args)):(n3=r3,f=i2,p=o2,v.apply(i2,o2))})}}),t3.original=function(){var e4,i2,o2,a2;return n3?(e4=r2(arguments),i2=function e5(n4){var i3,o3,u2=e5.id;if(u2!=null){if(delete e5.id,i3=d[u2],delete d[u2],i3)return o3=r2(arguments),t3.has(u2)&&(n4?t3.delete(u2):(h[u2]={context:this,args:o3},t3.emit("setasync",u2,typeof i3=="function"?1:i3.length))),typeof i3=="function"?a2=c.call(i3,this,o3):i3.forEach(function(e6){a2=c.call(e6,this,o3)},this),a2}else s(c.bind(e5,this,arguments))},o2=n3,n3=f=p=null,e4.push(i2),a2=c.call(m,this,e4),i2.cb=o2,n3=i2,a2):c.call(m,this,arguments)},t3.on("set",function(e4){n3?(d[e4]?typeof d[e4]=="function"?d[e4]=[d[e4],n3.cb]:d[e4].push(n3.cb):d[e4]=n3.cb,delete n3.cb,n3.id=e4,n3=null):t3.delete(e4)}),t3.on("delete",function(e4){var n4;hasOwnProperty.call(d,e4)||h[e4]&&(n4=h[e4],delete h[e4],t3.emit("deleteasync",e4,u.call(n4.args,1)))}),t3.on("clear",function(){var e4=h;h=l(null),t3.emit("clearasync",i(e4,function(e5){return u.call(e5.args,1)}))})}},8034:(e2,t2,n2)=>{"use strict";var r2=n2(529),i=n2(9483),o=n2(6958),a=Function.prototype.apply;o.dispose=function(e3,t3,n3){var s;if(r2(e3),n3.async&&o.async||n3.promise&&o.promise)return t3.on("deleteasync",s=function(t4,n4){a.call(e3,null,n4)}),void t3.on("clearasync",function(e4){i(e4,function(e5,t4){s(t4,e5)})});t3.on("delete",s=function(t4,n4){e3(n4)}),t3.on("clear",function(e4){i(e4,function(e5,t4){s(t4,e5)})})}},4276:(e2,t2,n2)=>{"use strict";var r2=n2(3583),i=n2(9483),o=n2(6663),a=n2(5068),s=n2(9862),u=n2(6958),c=Function.prototype,l=Math.max,f=Math.min,p=Object.create;u.maxAge=function(e3,t3,n3){var d,h,v,m;(e3=s(e3))&&(d=p(null),h=n3.async&&u.async||n3.promise&&u.promise?"async":"",t3.on("set"+h,function(n4){d[n4]=setTimeout(function(){t3.delete(n4)},e3),typeof d[n4].unref=="function"&&d[n4].unref(),m&&(m[n4]&&m[n4]!=="nextTick"&&clearTimeout(m[n4]),m[n4]=setTimeout(function(){delete m[n4]},v),typeof m[n4].unref=="function"&&m[n4].unref())}),t3.on("delete"+h,function(e4){clearTimeout(d[e4]),delete d[e4],m&&(m[e4]!=="nextTick"&&clearTimeout(m[e4]),delete m[e4])}),n3.preFetch&&(v=n3.preFetch===!0||isNaN(n3.preFetch)?.333:l(f(Number(n3.preFetch),1),0))&&(m={},v=(1-v)*e3,t3.on("get"+h,function(e4,i2,s2){m[e4]||(m[e4]="nextTick",o(function(){var o2;m[e4]==="nextTick"&&(delete m[e4],t3.delete(e4),n3.async&&(i2=r2(i2)).push(c),o2=t3.memoized.apply(s2,i2),n3.promise&&a(o2)&&(typeof o2.done=="function"?o2.done(c,c):o2.then(c,c)))}))})),t3.on("clear"+h,function(){i(d,function(e4){clearTimeout(e4)}),d={},m&&(i(m,function(e4){e4!=="nextTick"&&clearTimeout(e4)}),m={})}))}},337:(e2,t2,n2)=>{"use strict";var r2=n2(2047),i=n2(1906),o=n2(6958);o.max=function(e3,t3,n3){var a,s,u;(e3=r2(e3))&&(s=i(e3),a=n3.async&&o.async||n3.promise&&o.promise?"async":"",t3.on("set"+a,u=function(e4){(e4=s.hit(e4))!==void 0&&t3.delete(e4)}),t3.on("get"+a,u),t3.on("delete"+a,s.delete),t3.on("clear"+a,s.clear))}},4234:(e2,t2,n2)=>{"use strict";var r2=n2(5120),i=n2(8758),o=n2(3630),a=n2(5160),s=n2(5068),u=n2(6663),c=Object.create,l=i("then","then:finally","done","done:finally");n2(6958).promise=function(e3,t3){var n3=c(null),i2=c(null),f=c(null);if(e3===!0)e3=null;else if(e3=o(e3),!l[e3])throw new TypeError("'"+a(e3)+"' is not valid promise mode");t3.on("set",function(r3,o2,a2){var c2=!1;if(!s(a2))return i2[r3]=a2,void t3.emit("setasync",r3,1);n3[r3]=1,f[r3]=a2;var l2=function(e4){var o3=n3[r3];if(c2)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)
|
33
|
-
Consider to rely on 'then' or 'done' mode instead.`);o3&&(delete n3[r3],i2[r3]=e4,t3.emit("setasync",r3,o3))},p=function(){c2=!0,n3[r3]&&(delete n3[r3],delete f[r3],t3.delete(r3))},d=e3;if(d||(d="then"),d==="then"){var h=function(){u(p)};typeof(a2=a2.then(function(e4){u(l2.bind(this,e4))},h)).finally=="function"&&a2.finally(h)}else if(d==="done"){if(typeof a2.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");a2.done(l2,p)}else if(d==="done:finally"){if(typeof a2.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof a2.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");a2.done(l2),a2.finally(p)}}),t3.on("get",function(e4,r3,i3){var o2;if(n3[e4])++n3[e4];else{o2=f[e4];var a2=function(){t3.emit("getasync",e4,r3,i3)};s(o2)?typeof o2.done=="function"?o2.done(a2):o2.then(function(){u(a2)}):a2()}}),t3.on("delete",function(e4){if(delete f[e4],n3[e4])delete n3[e4];else if(hasOwnProperty.call(i2,e4)){var r3=i2[e4];delete i2[e4],t3.emit("deleteasync",e4,[r3])}}),t3.on("clear",function(){var e4=i2;i2=c(null),n3=c(null),f=c(null),t3.emit("clearasync",r2(e4,function(e5){return[e5]}))})}},9211:(e2,t2,n2)=>{"use strict";var r2=n2(3706),i=n2(6958),o=Object.create,a=Object.defineProperties;i.refCounter=function(e3,t3,n3){var s,u;s=o(null),u=n3.async&&i.async||n3.promise&&i.promise?"async":"",t3.on("set"+u,function(e4,t4){s[e4]=t4||1}),t3.on("get"+u,function(e4){++s[e4]}),t3.on("delete"+u,function(e4){delete s[e4]}),t3.on("clear"+u,function(){s={}}),a(t3.memoized,{deleteRef:r2(function(){var e4=t3.get(arguments);return e4===null?null:s[e4]?!--s[e4]&&(t3.delete(e4),!0):null}),getRefCount:r2(function(){var e4=t3.get(arguments);return e4===null?0:s[e4]?s[e4]:0})})}},1695:(e2,t2,n2)=>{"use strict";var r2=n2(5482),i=n2(1852),o=n2(8935);e2.exports=function(e3){var t3,a=r2(arguments[1]);return a.normalizer||(t3=a.length=i(a.length,e3.length,a.async))!==0&&(a.primitive?t3===!1?a.normalizer=n2(8413):t3>1&&(a.normalizer=n2(6695)(t3)):a.normalizer=t3===!1?n2(8576)():t3===1?n2(9626)():n2(3219)(t3)),a.async&&n2(7539),a.promise&&n2(4234),a.dispose&&n2(8034),a.maxAge&&n2(4276),a.max&&n2(337),a.refCounter&&n2(9211),o(e3,a)}},2828:(e2,t2,n2)=>{"use strict";var r2=n2(3678),i=n2(860),o=n2(3706),a=n2(4697).methods,s=n2(1706),u=n2(5621),c=Function.prototype.apply,l=Function.prototype.call,f=Object.create,p=Object.defineProperties,d=a.on,h=a.emit;e2.exports=function(e3,t3,n3){var a2,v,m,y,g,b,_,E,w,O,T,N,I,S,x,A=f(null);return v=t3!==!1?t3:isNaN(e3.length)?1:e3.length,n3.normalizer&&(O=u(n3.normalizer),m=O.get,y=O.set,g=O.delete,b=O.clear),n3.resolvers!=null&&(x=s(n3.resolvers)),S=m?i(function(t4){var n4,i2,o2=arguments;if(x&&(o2=x(o2)),(n4=m(o2))!==null&&hasOwnProperty.call(A,n4))return T&&a2.emit("get",n4,o2,this),A[n4];if(i2=o2.length===1?l.call(e3,this,o2[0]):c.call(e3,this,o2),n4===null){if((n4=m(o2))!==null)throw r2("Circular invocation","CIRCULAR_INVOCATION");n4=y(o2)}else if(hasOwnProperty.call(A,n4))throw r2("Circular invocation","CIRCULAR_INVOCATION");return A[n4]=i2,N&&a2.emit("set",n4,null,i2),i2},v):t3===0?function(){var t4;if(hasOwnProperty.call(A,"data"))return T&&a2.emit("get","data",arguments,this),A.data;if(t4=arguments.length?c.call(e3,this,arguments):l.call(e3,this),hasOwnProperty.call(A,"data"))throw r2("Circular invocation","CIRCULAR_INVOCATION");return A.data=t4,N&&a2.emit("set","data",null,t4),t4}:function(t4){var n4,i2,o2=arguments;if(x&&(o2=x(arguments)),i2=String(o2[0]),hasOwnProperty.call(A,i2))return T&&a2.emit("get",i2,o2,this),A[i2];if(n4=o2.length===1?l.call(e3,this,o2[0]):c.call(e3,this,o2),hasOwnProperty.call(A,i2))throw r2("Circular invocation","CIRCULAR_INVOCATION");return A[i2]=n4,N&&a2.emit("set",i2,null,n4),n4},a2={original:e3,memoized:S,profileName:n3.profileName,get:function(e4){return x&&(e4=x(e4)),m?m(e4):String(e4[0])},has:function(e4){return hasOwnProperty.call(A,e4)},delete:function(e4){var t4;hasOwnProperty.call(A,e4)&&(g&&g(e4),t4=A[e4],delete A[e4],I&&a2.emit("delete",e4,t4))},clear:function(){var e4=A;b&&b(),A=f(null),a2.emit("clear",e4)},on:function(e4,t4){return e4==="get"?T=!0:e4==="set"?N=!0:e4==="delete"&&(I=!0),d.call(this,e4,t4)},emit:h,updateEnv:function(){e3=a2.original}},_=m?i(function(e4){var t4,n4=arguments;x&&(n4=x(n4)),(t4=m(n4))!==null&&a2.delete(t4)},v):t3===0?function(){return a2.delete("data")}:function(e4){return x&&(e4=x(arguments)[0]),a2.delete(e4)},E=i(function(){var e4,n4=arguments;return t3===0?A.data:(x&&(n4=x(n4)),e4=m?m(n4):String(n4[0]),A[e4])}),w=i(function(){var e4,n4=arguments;return t3===0?a2.has("data"):(x&&(n4=x(n4)),(e4=m?m(n4):String(n4[0]))!==null&&a2.has(e4))}),p(S,{__memoized__:o(!0),delete:o(_),clear:o(a2.clear),_get:o(E),_has:o(w)}),a2}},6958:()=>{},1852:(e2,t2,n2)=>{"use strict";var r2=n2(2047);e2.exports=function(e3,t3,n3){var i;return isNaN(e3)?(i=t3)>=0?n3&&i?i-1:i:1:e3!==!1&&r2(e3)}},5621:(e2,t2,n2)=>{"use strict";var r2=n2(529);e2.exports=function(e3){var t3;return typeof e3=="function"?{set:e3,get:e3}:(t3={get:r2(e3.get)},e3.set!==void 0?(t3.set=r2(e3.set),e3.delete&&(t3.delete=r2(e3.delete)),e3.clear&&(t3.clear=r2(e3.clear)),t3):(t3.set=t3.get,t3))}},1706:(e2,t2,n2)=>{"use strict";var r2,i=n2(8017),o=n2(9340),a=n2(529),s=Array.prototype.slice;r2=function(e3){return this.map(function(t3,n3){return t3?t3(e3[n3]):e3[n3]}).concat(s.call(e3,this.length))},e2.exports=function(e3){return(e3=i(e3)).forEach(function(e4){o(e4)&&a(e4)}),r2.bind(e3)}},9626:(e2,t2,n2)=>{"use strict";var r2=n2(5740);e2.exports=function(){var e3=0,t3=[],n3=[];return{get:function(e4){var i=r2.call(t3,e4[0]);return i===-1?null:n3[i]},set:function(r3){return t3.push(r3[0]),n3.push(++e3),e3},delete:function(e4){var i=r2.call(n3,e4);i!==-1&&(t3.splice(i,1),n3.splice(i,1))},clear:function(){t3=[],n3=[]}}}},3219:(e2,t2,n2)=>{"use strict";var r2=n2(5740),i=Object.create;e2.exports=function(e3){var t3=0,n3=[[],[]],o=i(null);return{get:function(t4){for(var i2,o2=0,a=n3;o2<e3-1;){if((i2=r2.call(a[0],t4[o2]))===-1)return null;a=a[1][i2],++o2}return(i2=r2.call(a[0],t4[o2]))===-1?null:a[1][i2]||null},set:function(i2){for(var a,s=0,u=n3;s<e3-1;)(a=r2.call(u[0],i2[s]))===-1&&(a=u[0].push(i2[s])-1,u[1].push([[],[]])),u=u[1][a],++s;return(a=r2.call(u[0],i2[s]))===-1&&(a=u[0].push(i2[s])-1),u[1][a]=++t3,o[t3]=i2,t3},delete:function(t4){for(var i2,a=0,s=n3,u=[],c=o[t4];a<e3-1;){if((i2=r2.call(s[0],c[a]))===-1)return;u.push(s,i2),s=s[1][i2],++a}if((i2=r2.call(s[0],c[a]))!==-1){for(t4=s[1][i2],s[0].splice(i2,1),s[1].splice(i2,1);!s[0].length&&u.length;)i2=u.pop(),(s=u.pop())[0].splice(i2,1),s[1].splice(i2,1);delete o[t4]}},clear:function(){n3=[[],[]],o=i(null)}}}},6695:e2=>{"use strict";e2.exports=function(e3){return e3?function(t2){for(var n2=String(t2[0]),r2=0,i=e3;--i;)n2+=""+t2[++r2];return n2}:function(){return""}}},8576:(e2,t2,n2)=>{"use strict";var r2=n2(5740),i=Object.create;e2.exports=function(){var e3=0,t3=[],n3=i(null);return{get:function(e4){var n4,i2=0,o=t3,a=e4.length;if(a===0)return o[a]||null;if(o=o[a]){for(;i2<a-1;){if((n4=r2.call(o[0],e4[i2]))===-1)return null;o=o[1][n4],++i2}return(n4=r2.call(o[0],e4[i2]))===-1?null:o[1][n4]||null}return null},set:function(i2){var o,a=0,s=t3,u=i2.length;if(u===0)s[u]=++e3;else{for(s[u]||(s[u]=[[],[]]),s=s[u];a<u-1;)(o=r2.call(s[0],i2[a]))===-1&&(o=s[0].push(i2[a])-1,s[1].push([[],[]])),s=s[1][o],++a;(o=r2.call(s[0],i2[a]))===-1&&(o=s[0].push(i2[a])-1),s[1][o]=++e3}return n3[e3]=i2,e3},delete:function(e4){var i2,o=0,a=t3,s=n3[e4],u=s.length,c=[];if(u===0)delete a[u];else if(a=a[u]){for(;o<u-1;){if((i2=r2.call(a[0],s[o]))===-1)return;c.push(a,i2),a=a[1][i2],++o}if((i2=r2.call(a[0],s[o]))===-1)return;for(e4=a[1][i2],a[0].splice(i2,1),a[1].splice(i2,1);!a[0].length&&c.length;)i2=c.pop(),(a=c.pop())[0].splice(i2,1),a[1].splice(i2,1)}delete n3[e4]},clear:function(){t3=[],n3=i(null)}}}},8413:e2=>{"use strict";e2.exports=function(e3){var t2,n2,r2=e3.length;if(!r2)return"";for(t2=String(e3[n2=0]);--r2;)t2+=""+e3[++n2];return t2}},8935:(e2,t2,n2)=>{"use strict";var r2=n2(529),i=n2(9483),o=n2(6958),a=n2(2828),s=n2(1852);e2.exports=function e3(t3){var n3,u,c;if(r2(t3),(n3=Object(arguments[1])).async&&n3.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t3,"__memoized__")&&!n3.force?t3:(u=s(n3.length,t3.length,n3.async&&o.async),c=a(t3,u,n3),i(o,function(e4,t4){n3[t4]&&e4(n3[t4],c,n3)}),e3.__profiler__&&e3.__profiler__(c),c.updateEnv(),c.memoized)}},4610:(e2,t2,n2)=>{"use strict";n2.r(t2),n2.d(t2,{default:()=>r2});const r2={label:"element-highlighter_label__IcLj0",frame:"element-highlighter_frame__K1cr8"}},4858:(e2,t2,n2)=>{"use strict";n2.r(t2),n2.d(t2,{default:()=>r2});const r2={offset:"6",overlayBorder:"frame_overlayBorder__5sw9A",hidden:"frame_hidden__vILaI"}},5080:(e2,t2,n2)=>{"use strict";n2.r(t2),n2.d(t2,{default:()=>r2});const r2={componentStrip:"component-strip_componentStrip__kq173",nameBlock:"component-strip_nameBlock__JYgk1",version:"component-strip_version__SyWej"}},3174:(e2,t2,n2)=>{"use strict";n2.r(t2),n2.d(t2,{default:()=>r2});const r2={othersContainer:"label_othersContainer__DYfRN",othersTooltip:"label_othersTooltip__OkJs2",active:"label_active__dqbi+",hidden:"label_hidden__w7v+u"}},7727:(e2,t2,n2)=>{"use strict";n2.r(t2),n2.d(t2,{default:()=>r2});const r2={highlighter:"highlighter-provider_highlighter__vY8on",active:"highlighter-provider_active__xgxqx",label:"highlighter-provider_label__iLN6B"}},6663:(e2,t2,n2)=>{"use strict";var r2=n2(8558),i=function(e3){if(typeof e3!="function")throw new TypeError(e3+" is not a function");return e3},o=function(e3){var t3,n3,r3=document.createTextNode(""),o2=0;return new e3(function(){var e4;if(t3)n3&&(t3=n3.concat(t3));else{if(!n3)return;t3=n3}if(n3=t3,t3=null,typeof n3=="function")return e4=n3,n3=null,void e4();for(r3.data=o2=++o2%2;n3;)e4=n3.shift(),n3.length||(n3=null),e4()}).observe(r3,{characterData:!0}),function(e4){i(e4),t3?typeof t3=="function"?t3=[t3,e4]:t3.push(e4):(t3=e4,r3.data=o2=++o2%2)}};e2.exports=function(){if(typeof r2=="object"&&r2&&typeof r2.nextTick=="function")return r2.nextTick;if(typeof queueMicrotask=="function")return function(e3){queueMicrotask(i(e3))};if(typeof document=="object"&&document){if(typeof MutationObserver=="function")return o(MutationObserver);if(typeof WebKitMutationObserver=="function")return o(WebKitMutationObserver)}return typeof setImmediate=="function"?function(e3){setImmediate(i(e3))}:typeof setTimeout=="function"||typeof setTimeout=="object"?function(e3){setTimeout(i(e3),0)}:null}()},2101:(e2,t2,n2)=>{"use strict";var r2=n2(8558);function i(e3){if(typeof e3!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e3))}function o(e3,t3){for(var n3,r3="",i2=0,o2=-1,a2=0,s=0;s<=e3.length;++s){if(s<e3.length)n3=e3.charCodeAt(s);else{if(n3===47)break;n3=47}if(n3===47){if(!(o2===s-1||a2===1))if(o2!==s-1&&a2===2){if(r3.length<2||i2!==2||r3.charCodeAt(r3.length-1)!==46||r3.charCodeAt(r3.length-2)!==46){if(r3.length>2){var u=r3.lastIndexOf("/");if(u!==r3.length-1){u===-1?(r3="",i2=0):i2=(r3=r3.slice(0,u)).length-1-r3.lastIndexOf("/"),o2=s,a2=0;continue}}else if(r3.length===2||r3.length===1){r3="",i2=0,o2=s,a2=0;continue}}t3&&(r3.length>0?r3+="/..":r3="..",i2=2)}else r3.length>0?r3+="/"+e3.slice(o2+1,s):r3=e3.slice(o2+1,s),i2=s-o2-1;o2=s,a2=0}else n3===46&&a2!==-1?++a2:a2=-1}return r3}var a={resolve:function(){for(var e3,t3="",n3=!1,a2=arguments.length-1;a2>=-1&&!n3;a2--){var s;a2>=0?s=arguments[a2]:(e3===void 0&&(e3=r2.cwd()),s=e3),i(s),s.length!==0&&(t3=s+"/"+t3,n3=s.charCodeAt(0)===47)}return t3=o(t3,!n3),n3?t3.length>0?"/"+t3:"/":t3.length>0?t3:"."},normalize:function(e3){if(i(e3),e3.length===0)return".";var t3=e3.charCodeAt(0)===47,n3=e3.charCodeAt(e3.length-1)===47;return(e3=o(e3,!t3)).length!==0||t3||(e3="."),e3.length>0&&n3&&(e3+="/"),t3?"/"+e3:e3},isAbsolute:function(e3){return i(e3),e3.length>0&&e3.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e3,t3=0;t3<arguments.length;++t3){var n3=arguments[t3];i(n3),n3.length>0&&(e3===void 0?e3=n3:e3+="/"+n3)}return e3===void 0?".":a.normalize(e3)},relative:function(e3,t3){if(i(e3),i(t3),e3===t3||(e3=a.resolve(e3))===(t3=a.resolve(t3)))return"";for(var n3=1;n3<e3.length&&e3.charCodeAt(n3)===47;++n3);for(var r3=e3.length,o2=r3-n3,s=1;s<t3.length&&t3.charCodeAt(s)===47;++s);for(var u=t3.length-s,c=o2<u?o2:u,l=-1,f=0;f<=c;++f){if(f===c){if(u>c){if(t3.charCodeAt(s+f)===47)return t3.slice(s+f+1);if(f===0)return t3.slice(s+f)}else o2>c&&(e3.charCodeAt(n3+f)===47?l=f:f===0&&(l=0));break}var p=e3.charCodeAt(n3+f);if(p!==t3.charCodeAt(s+f))break;p===47&&(l=f)}var d="";for(f=n3+l+1;f<=r3;++f)f!==r3&&e3.charCodeAt(f)!==47||(d.length===0?d+="..":d+="/..");return d.length>0?d+t3.slice(s+l):(s+=l,t3.charCodeAt(s)===47&&++s,t3.slice(s))},_makeLong:function(e3){return e3},dirname:function(e3){if(i(e3),e3.length===0)return".";for(var t3=e3.charCodeAt(0),n3=t3===47,r3=-1,o2=!0,a2=e3.length-1;a2>=1;--a2)if((t3=e3.charCodeAt(a2))===47){if(!o2){r3=a2;break}}else o2=!1;return r3===-1?n3?"/":".":n3&&r3===1?"//":e3.slice(0,r3)},basename:function(e3,t3){if(t3!==void 0&&typeof t3!="string")throw new TypeError('"ext" argument must be a string');i(e3);var n3,r3=0,o2=-1,a2=!0;if(t3!==void 0&&t3.length>0&&t3.length<=e3.length){if(t3.length===e3.length&&t3===e3)return"";var s=t3.length-1,u=-1;for(n3=e3.length-1;n3>=0;--n3){var c=e3.charCodeAt(n3);if(c===47){if(!a2){r3=n3+1;break}}else u===-1&&(a2=!1,u=n3+1),s>=0&&(c===t3.charCodeAt(s)?--s==-1&&(o2=n3):(s=-1,o2=u))}return r3===o2?o2=u:o2===-1&&(o2=e3.length),e3.slice(r3,o2)}for(n3=e3.length-1;n3>=0;--n3)if(e3.charCodeAt(n3)===47){if(!a2){r3=n3+1;break}}else o2===-1&&(a2=!1,o2=n3+1);return o2===-1?"":e3.slice(r3,o2)},extname:function(e3){i(e3);for(var t3=-1,n3=0,r3=-1,o2=!0,a2=0,s=e3.length-1;s>=0;--s){var u=e3.charCodeAt(s);if(u!==47)r3===-1&&(o2=!1,r3=s+1),u===46?t3===-1?t3=s:a2!==1&&(a2=1):t3!==-1&&(a2=-1);else if(!o2){n3=s+1;break}}return t3===-1||r3===-1||a2===0||a2===1&&t3===r3-1&&t3===n3+1?"":e3.slice(t3,r3)},format:function(e3){if(e3===null||typeof e3!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e3);return function(e4,t3){var n3=t3.dir||t3.root,r3=t3.base||(t3.name||"")+(t3.ext||"");return n3?n3===t3.root?n3+r3:n3+"/"+r3:r3}(0,e3)},parse:function(e3){i(e3);var t3={root:"",dir:"",base:"",ext:"",name:""};if(e3.length===0)return t3;var n3,r3=e3.charCodeAt(0),o2=r3===47;o2?(t3.root="/",n3=1):n3=0;for(var a2=-1,s=0,u=-1,c=!0,l=e3.length-1,f=0;l>=n3;--l)if((r3=e3.charCodeAt(l))!==47)u===-1&&(c=!1,u=l+1),r3===46?a2===-1?a2=l:f!==1&&(f=1):a2!==-1&&(f=-1);else if(!c){s=l+1;break}return a2===-1||u===-1||f===0||f===1&&a2===u-1&&a2===s+1?u!==-1&&(t3.base=t3.name=s===0&&o2?e3.slice(1,u):e3.slice(s,u)):(s===0&&o2?(t3.name=e3.slice(1,a2),t3.base=e3.slice(1,u)):(t3.name=e3.slice(s,a2),t3.base=e3.slice(s,u)),t3.ext=e3.slice(a2,u)),s>0?t3.dir=e3.slice(0,s-1):o2&&(t3.dir="/"),t3},sep:"/",delimiter:":",win32:null,posix:null};a.posix=a,e2.exports=a},8926:(e2,t2,n2)=>{"use strict";var r2,i,o,a,s;n2.r(t2),n2.d(t2,{ErrorCode:()=>o,connectToChild:()=>w,connectToParent:()=>O}),function(e3){e3.Call="call",e3.Reply="reply",e3.Syn="syn",e3.SynAck="synAck",e3.Ack="ack"}(r2||(r2={})),function(e3){e3.Fulfilled="fulfilled",e3.Rejected="rejected"}(i||(i={})),function(e3){e3.ConnectionDestroyed="ConnectionDestroyed",e3.ConnectionTimeout="ConnectionTimeout",e3.NoIframeSrc="NoIframeSrc"}(o||(o={})),function(e3){e3.DataCloneError="DataCloneError"}(a||(a={})),function(e3){e3.Message="message"}(s||(s={}));const u=(e3,t3)=>{const n3=[];let r3=!1;return{destroy(i2){r3||(r3=!0,t3(`${e3}: Destroying connection`),n3.forEach(e4=>{e4(i2)}))},onDestroy(e4){r3?e4():n3.push(e4)}}},c=e3=>(...t3)=>{e3&&console.log("[Penpal]",...t3)},l={"http:":"80","https:":"443"},f=/^(https?:)?\/\/([^/:]+)?(:(\d+))?/,p=["file:","data:"],d=({name:e3,message:t3,stack:n3})=>({name:e3,message:t3,stack:n3}),h=(e3,t3,n3)=>{const{localName:o2,local:u2,remote:c2,originForSending:l2,originForReceiving:f2}=e3;let p2=!1;const h2=e4=>{if(e4.source!==c2||e4.data.penpal!==r2.Call)return;if(f2!=="*"&&e4.origin!==f2)return void n3(`${o2} received message from origin ${e4.origin} which did not match expected origin ${f2}`);const s2=e4.data,{methodName:u3,args:h3,id:v2}=s2;n3(`${o2}: Received ${u3}() call`);const m2=e5=>t4=>{if(n3(`${o2}: Sending ${u3}() reply`),p2)return void n3(`${o2}: Unable to send ${u3}() reply due to destroyed connection`);const s3={penpal:r2.Reply,id:v2,resolution:e5,returnValue:t4};e5===i.Rejected&&t4 instanceof Error&&(s3.returnValue=d(t4),s3.returnValueIsError=!0);try{c2.postMessage(s3,l2)}catch(e6){if(e6.name===a.DataCloneError){const t5={penpal:r2.Reply,id:v2,resolution:i.Rejected,returnValue:d(e6),returnValueIsError:!0};c2.postMessage(t5,l2)}throw e6}};new Promise(e5=>e5(t3[u3].apply(t3,h3))).then(m2(i.Fulfilled),m2(i.Rejected))};return u2.addEventListener(s.Message,h2),()=>{p2=!0,u2.removeEventListener(s.Message,h2)}};let v=0;const m=()=>++v,y=e3=>e3?e3.split("."):[],g=(e3,t3,n3)=>{const r3=y(t3);return r3.reduce((e4,t4,i2)=>(e4[t4]===void 0&&(e4[t4]={}),i2===r3.length-1&&(e4[t4]=n3),e4[t4]),e3),e3},b=(e3,t3)=>{const n3={};return Object.keys(e3).forEach(r3=>{const i2=e3[r3],o2=((e4,t4)=>{const n4=y(t4||"");return n4.push(e4),(e5=>e5.join("."))(n4)})(r3,t3);typeof i2=="object"&&Object.assign(n3,b(i2,o2)),typeof i2=="function"&&(n3[o2]=i2)}),n3},_=(e3,t3,n3,a2,u2)=>{const{localName:c2,local:l2,remote:f2,originForSending:p2,originForReceiving:d2}=t3;let h2=!1;u2(`${c2}: Connecting call sender`);const v2=n3.reduce((e4,t4)=>{return e4[t4]=(n4=t4,(...e5)=>{let t5;u2(`${c2}: Sending ${n4}() call`);try{f2.closed&&(t5=!0)}catch{t5=!0}if(t5&&a2(),h2){const e6=new Error(`Unable to send ${n4}() call due to destroyed connection`);throw e6.code=o.ConnectionDestroyed,e6}return new Promise((t6,o2)=>{const a3=m(),h3=e6=>{if(e6.source!==f2||e6.data.penpal!==r2.Reply||e6.data.id!==a3)return;if(d2!=="*"&&e6.origin!==d2)return void u2(`${c2} received message from origin ${e6.origin} which did not match expected origin ${d2}`);const p3=e6.data;u2(`${c2}: Received ${n4}() reply`),l2.removeEventListener(s.Message,h3);let v4=p3.returnValue;p3.returnValueIsError&&(v4=(e7=>{const t7=new Error;return Object.keys(e7).forEach(n5=>t7[n5]=e7[n5]),t7})(v4)),(p3.resolution===i.Fulfilled?t6:o2)(v4)};l2.addEventListener(s.Message,h3);const v3={penpal:r2.Call,id:a3,methodName:n4,args:e5};f2.postMessage(v3,p2)})}),e4;var n4},{});return Object.assign(e3,(e4=>{const t4={};for(const n4 in e4)g(t4,n4,e4[n4]);return t4})(v2)),()=>{h2=!0}},E=(e3,t3)=>{let n3;return e3!==void 0&&(n3=window.setTimeout(()=>{const n4=new Error(`Connection timed out after ${e3}ms`);n4.code=o.ConnectionTimeout,t3(n4)},e3)),()=>{clearTimeout(n3)}},w=e3=>{let{iframe:t3,methods:n3={},childOrigin:i2,timeout:a2,debug:d2=!1}=e3;const v2=c(d2),m2=u("Parent",v2),{onDestroy:y2,destroy:g2}=m2;i2||((e4=>{if(!e4.src&&!e4.srcdoc){const e5=new Error("Iframe must have src or srcdoc property defined.");throw e5.code=o.NoIframeSrc,e5}})(t3),i2=(e4=>{if(e4&&p.find(t5=>e4.startsWith(t5)))return"null";const t4=document.location,n4=f.exec(e4);let r3,i3,o2;return n4?(r3=n4[1]?n4[1]:t4.protocol,i3=n4[2],o2=n4[4]):(r3=t4.protocol,i3=t4.hostname,o2=t4.port),`${r3}//${i3}${o2&&o2!==l[r3]?`:${o2}`:""}`})(t3.src));const w2=i2==="null"?"*":i2,O2=b(n3),T=((e4,t4,n4,i3)=>o2=>{if(!o2.source)return;if(n4!=="*"&&o2.origin!==n4)return void e4(`Parent: Handshake - Received SYN message from origin ${o2.origin} which did not match expected origin ${n4}`);e4("Parent: Handshake - Received SYN, responding with SYN-ACK");const a3={penpal:r2.SynAck,methodNames:Object.keys(t4)};o2.source.postMessage(a3,i3)})(v2,O2,i2,w2),N=((e4,t4,n4,r3,i3)=>{const{destroy:o2,onDestroy:a3}=r3;let s2,u2;const c2={};return r4=>{if(t4!=="*"&&r4.origin!==t4)return void i3(`Parent: Handshake - Received ACK message from origin ${r4.origin} which did not match expected origin ${t4}`);i3("Parent: Handshake - Received ACK");const l2={localName:"Parent",local:window,remote:r4.source,originForSending:n4,originForReceiving:t4};s2&&s2(),s2=h(l2,e4,i3),a3(s2),u2&&u2.forEach(e5=>{delete c2[e5]}),u2=r4.data.methodNames;const f2=_(c2,l2,u2,o2,i3);return a3(f2),c2}})(O2,i2,w2,m2,v2);return{promise:new Promise((e4,n4)=>{const i3=E(a2,g2),o2=n5=>{if(n5.source===t3.contentWindow&&n5.data)if(n5.data.penpal!==r2.Syn){if(n5.data.penpal===r2.Ack){const t4=N(n5);t4&&(i3(),e4(t4))}}else T(n5)};window.addEventListener(s.Message,o2),v2("Parent: Awaiting handshake"),((e5,t4)=>{const{destroy:n5,onDestroy:r3}=t4,i4=setInterval(()=>{e5.isConnected||(clearInterval(i4),n5())},6e4);r3(()=>{clearInterval(i4)})})(t3,m2),y2(e5=>{window.removeEventListener(s.Message,o2),e5&&n4(e5)})}),destroy(){g2()}}},O=(e3={})=>{const{parentOrigin:t3="*",methods:n3={},timeout:i2,debug:o2=!1}=e3,a2=c(o2),l2=u("Child",a2),{destroy:f2,onDestroy:p2}=l2,d2=b(n3),v2=((e4,t4,n4,i3)=>{const{destroy:o3,onDestroy:a3}=n4;return n5=>{if(!(e4 instanceof RegExp?e4.test(n5.origin):e4==="*"||e4===n5.origin))return void i3(`Child: Handshake - Received SYN-ACK from origin ${n5.origin} which did not match expected origin ${e4}`);i3("Child: Handshake - Received SYN-ACK, responding with ACK");const s2=n5.origin==="null"?"*":n5.origin,u2={penpal:r2.Ack,methodNames:Object.keys(t4)};window.parent.postMessage(u2,s2);const c2={localName:"Child",local:window,remote:window.parent,originForSending:s2,originForReceiving:n5.origin},l3=h(c2,t4,i3);a3(l3);const f3={},p3=_(f3,c2,n5.data.methodNames,o3,i3);return a3(p3),f3}})(t3,d2,l2,a2);return{promise:new Promise((e4,n4)=>{const o3=E(i2,f2),u2=t4=>{if((()=>{try{clearTimeout()}catch{return!1}return!0})()&&t4.source===parent&&t4.data&&t4.data.penpal===r2.SynAck){const n5=v2(t4);n5&&(window.removeEventListener(s.Message,u2),o3(),e4(n5))}};window.addEventListener(s.Message,u2),(()=>{a2("Child: Handshake - Sending SYN");const e5={penpal:r2.Syn},n5=t3 instanceof RegExp?"*":t3;window.parent.postMessage(e5,n5)})(),p2(e5=>{window.removeEventListener(s.Message,u2),e5&&n4(e5)})}),destroy(){f2()}}}},8558:e2=>{var t2,n2,r2=e2.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e3){if(t2===setTimeout)return setTimeout(e3,0);if((t2===i||!t2)&&setTimeout)return t2=setTimeout,setTimeout(e3,0);try{return t2(e3,0)}catch{try{return t2.call(null,e3,0)}catch{return t2.call(this,e3,0)}}}(function(){try{t2=typeof setTimeout=="function"?setTimeout:i}catch{t2=i}try{n2=typeof clearTimeout=="function"?clearTimeout:o}catch{n2=o}})();var s,u=[],c=!1,l=-1;function f(){c&&s&&(c=!1,s.length?u=s.concat(u):l=-1,u.length&&p())}function p(){if(!c){var e3=a(f);c=!0;for(var t3=u.length;t3;){for(s=u,u=[];++l<t3;)s&&s[l].run();l=-1,t3=u.length}s=null,c=!1,function(e4){if(n2===clearTimeout)return clearTimeout(e4);if((n2===o||!n2)&&clearTimeout)return n2=clearTimeout,clearTimeout(e4);try{return n2(e4)}catch{try{return n2.call(null,e4)}catch{return n2.call(this,e4)}}}(e3)}}function d(e3,t3){this.fun=e3,this.array=t3}function h(){}r2.nextTick=function(e3){var t3=new Array(arguments.length-1);if(arguments.length>1)for(var n3=1;n3<arguments.length;n3++)t3[n3-1]=arguments[n3];u.push(new d(e3,t3)),u.length!==1||c||a(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},r2.title="browser",r2.browser=!0,r2.env={},r2.argv=[],r2.version="",r2.versions={},r2.on=h,r2.addListener=h,r2.once=h,r2.off=h,r2.removeListener=h,r2.removeAllListeners=h,r2.emit=h,r2.prependListener=h,r2.prependOnceListener=h,r2.listeners=function(e3){return[]},r2.binding=function(e3){throw new Error("process.binding is not supported")},r2.cwd=function(){return"/"},r2.chdir=function(e3){throw new Error("process.chdir is not supported")},r2.umask=function(){return 0}},3268:(e2,t2,n2)=>{"use strict";const r2=n2(373),i=n2(4233),o=n2(3921),a=n2(6901);function s(e3){if(typeof e3!="string"||e3.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function u(e3,t3){return t3.encode?t3.strict?r2(e3):encodeURIComponent(e3):e3}function c(e3,t3){return t3.decode?i(e3):e3}function l(e3){return Array.isArray(e3)?e3.sort():typeof e3=="object"?l(Object.keys(e3)).sort((e4,t3)=>Number(e4)-Number(t3)).map(t3=>e3[t3]):e3}function f(e3){const t3=e3.indexOf("#");return t3!==-1&&(e3=e3.slice(0,t3)),e3}function p(e3){const t3=(e3=f(e3)).indexOf("?");return t3===-1?"":e3.slice(t3+1)}function d(e3,t3){return t3.parseNumbers&&!Number.isNaN(Number(e3))&&typeof e3=="string"&&e3.trim()!==""?e3=Number(e3):!t3.parseBooleans||e3===null||e3.toLowerCase()!=="true"&&e3.toLowerCase()!=="false"||(e3=e3.toLowerCase()==="true"),e3}function h(e3,t3){s((t3=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t3)).arrayFormatSeparator);const n3=function(e4){let t4;switch(e4.arrayFormat){case"index":return(e5,n4,r4)=>{t4=/\[(\d*)\]$/.exec(e5),e5=e5.replace(/\[\d*\]$/,""),t4?(r4[e5]===void 0&&(r4[e5]={}),r4[e5][t4[1]]=n4):r4[e5]=n4};case"bracket":return(e5,n4,r4)=>{t4=/(\[\])$/.exec(e5),e5=e5.replace(/\[\]$/,""),t4?r4[e5]!==void 0?r4[e5]=[].concat(r4[e5],n4):r4[e5]=[n4]:r4[e5]=n4};case"comma":case"separator":return(t5,n4,r4)=>{const i2=typeof n4=="string"&&n4.includes(e4.arrayFormatSeparator),o2=typeof n4=="string"&&!i2&&c(n4,e4).includes(e4.arrayFormatSeparator);n4=o2?c(n4,e4):n4;const a2=i2||o2?n4.split(e4.arrayFormatSeparator).map(t6=>c(t6,e4)):n4===null?n4:c(n4,e4);r4[t5]=a2};case"bracket-separator":return(t5,n4,r4)=>{const i2=/(\[\])$/.test(t5);if(t5=t5.replace(/\[\]$/,""),!i2)return void(r4[t5]=n4&&c(n4,e4));const o2=n4===null?[]:n4.split(e4.arrayFormatSeparator).map(t6=>c(t6,e4));r4[t5]!==void 0?r4[t5]=[].concat(r4[t5],o2):r4[t5]=o2};default:return(e5,t5,n4)=>{n4[e5]!==void 0?n4[e5]=[].concat(n4[e5],t5):n4[e5]=t5}}}(t3),r3=Object.create(null);if(typeof e3!="string"||!(e3=e3.trim().replace(/^[?#&]/,"")))return r3;for(const i2 of e3.split("&")){if(i2==="")continue;let[e4,a2]=o(t3.decode?i2.replace(/\+/g," "):i2,"=");a2=a2===void 0?null:["comma","separator","bracket-separator"].includes(t3.arrayFormat)?a2:c(a2,t3),n3(c(e4,t3),a2,r3)}for(const e4 of Object.keys(r3)){const n4=r3[e4];if(typeof n4=="object"&&n4!==null)for(const e5 of Object.keys(n4))n4[e5]=d(n4[e5],t3);else r3[e4]=d(n4,t3)}return t3.sort===!1?r3:(t3.sort===!0?Object.keys(r3).sort():Object.keys(r3).sort(t3.sort)).reduce((e4,t4)=>{const n4=r3[t4];return Boolean(n4)&&typeof n4=="object"&&!Array.isArray(n4)?e4[t4]=l(n4):e4[t4]=n4,e4},Object.create(null))}t2.extract=p,t2.parse=h,t2.stringify=(e3,t3)=>{if(!e3)return"";s((t3=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t3)).arrayFormatSeparator);const n3=n4=>t3.skipNull&&(e4=>e4==null)(e3[n4])||t3.skipEmptyString&&e3[n4]==="",r3=function(e4){switch(e4.arrayFormat){case"index":return t4=>(n4,r4)=>{const i3=n4.length;return r4===void 0||e4.skipNull&&r4===null||e4.skipEmptyString&&r4===""?n4:r4===null?[...n4,[u(t4,e4),"[",i3,"]"].join("")]:[...n4,[u(t4,e4),"[",u(i3,e4),"]=",u(r4,e4)].join("")]};case"bracket":return t4=>(n4,r4)=>r4===void 0||e4.skipNull&&r4===null||e4.skipEmptyString&&r4===""?n4:r4===null?[...n4,[u(t4,e4),"[]"].join("")]:[...n4,[u(t4,e4),"[]=",u(r4,e4)].join("")];case"comma":case"separator":case"bracket-separator":{const t4=e4.arrayFormat==="bracket-separator"?"[]=":"=";return n4=>(r4,i3)=>i3===void 0||e4.skipNull&&i3===null||e4.skipEmptyString&&i3===""?r4:(i3=i3===null?"":i3,r4.length===0?[[u(n4,e4),t4,u(i3,e4)].join("")]:[[r4,u(i3,e4)].join(e4.arrayFormatSeparator)])}default:return t4=>(n4,r4)=>r4===void 0||e4.skipNull&&r4===null||e4.skipEmptyString&&r4===""?n4:r4===null?[...n4,u(t4,e4)]:[...n4,[u(t4,e4),"=",u(r4,e4)].join("")]}}(t3),i2={};for(const t4 of Object.keys(e3))n3(t4)||(i2[t4]=e3[t4]);const o2=Object.keys(i2);return t3.sort!==!1&&o2.sort(t3.sort),o2.map(n4=>{const i3=e3[n4];return i3===void 0?"":i3===null?u(n4,t3):Array.isArray(i3)?i3.length===0&&t3.arrayFormat==="bracket-separator"?u(n4,t3)+"[]":i3.reduce(r3(n4),[]).join("&"):u(n4,t3)+"="+u(i3,t3)}).filter(e4=>e4.length>0).join("&")},t2.parseUrl=(e3,t3)=>{t3=Object.assign({decode:!0},t3);const[n3,r3]=o(e3,"#");return Object.assign({url:n3.split("?")[0]||"",query:h(p(e3),t3)},t3&&t3.parseFragmentIdentifier&&r3?{fragmentIdentifier:c(r3,t3)}:{})},t2.stringifyUrl=(e3,n3)=>{n3=Object.assign({encode:!0,strict:!0},n3);const r3=f(e3.url).split("?")[0]||"",i2=t2.extract(e3.url),o2=t2.parse(i2,{sort:!1}),a2=Object.assign(o2,e3.query);let s2=t2.stringify(a2,n3);s2&&(s2=`?${s2}`);let c2=function(e4){let t3="";const n4=e4.indexOf("#");return n4!==-1&&(t3=e4.slice(n4)),t3}(e3.url);return e3.fragmentIdentifier&&(c2=`#${u(e3.fragmentIdentifier,n3)}`),`${r3}${s2}${c2}`},t2.pick=(e3,n3,r3)=>{r3=Object.assign({parseFragmentIdentifier:!0},r3);const{url:i2,query:o2,fragmentIdentifier:s2}=t2.parseUrl(e3,r3);return t2.stringifyUrl({url:i2,query:a(o2,n3),fragmentIdentifier:s2},r3)},t2.exclude=(e3,n3,r3)=>{const i2=Array.isArray(n3)?e4=>!n3.includes(e4):(e4,t3)=>!n3(e4,t3);return t2.pick(e3,i2,r3)}},4957:(e2,t2,n2)=>{var r2,i=n2(8558);(function(e3){(function(){var t3=typeof n2.g=="object"?n2.g:typeof self=="object"?self:typeof this=="object"?this:Function("return this;")(),r3=o(e3);function o(e4,t4){return function(n3,r4){typeof e4[n3]!="function"&&Object.defineProperty(e4,n3,{configurable:!0,writable:!0,value:r4}),t4&&t4(n3,r4)}}t3.Reflect===void 0?t3.Reflect=e3:r3=o(t3.Reflect,r3),function(e4){var t4=Object.prototype.hasOwnProperty,n3=typeof Symbol=="function",r4=n3&&Symbol.toPrimitive!==void 0?Symbol.toPrimitive:"@@toPrimitive",o2=n3&&Symbol.iterator!==void 0?Symbol.iterator:"@@iterator",a=typeof Object.create=="function",s={__proto__:[]}instanceof Array,u=!a&&!s,c={create:a?function(){return L(Object.create(null))}:s?function(){return L({__proto__:null})}:function(){return L({})},has:u?function(e5,n4){return t4.call(e5,n4)}:function(e5,t5){return t5 in e5},get:u?function(e5,n4){return t4.call(e5,n4)?e5[n4]:void 0}:function(e5,t5){return e5[t5]}},l=Object.getPrototypeOf(Function),f=typeof i=="object"&&i.env&&i.env.REFLECT_METADATA_USE_MAP_POLYFILL==="true",p=f||typeof Map!="function"||typeof Map.prototype.entries!="function"?function(){var e5={},t5=[],n4=function(){function e6(e7,t6,n5){this._index=0,this._keys=e7,this._values=t6,this._selector=n5}return e6.prototype["@@iterator"]=function(){return this},e6.prototype[o2]=function(){return this},e6.prototype.next=function(){var e7=this._index;if(e7>=0&&e7<this._keys.length){var n5=this._selector(this._keys[e7],this._values[e7]);return e7+1>=this._keys.length?(this._index=-1,this._keys=t5,this._values=t5):this._index++,{value:n5,done:!1}}return{value:void 0,done:!0}},e6.prototype.throw=function(e7){throw this._index>=0&&(this._index=-1,this._keys=t5,this._values=t5),e7},e6.prototype.return=function(e7){return this._index>=0&&(this._index=-1,this._keys=t5,this._values=t5),{value:e7,done:!0}},e6}();return function(){function t6(){this._keys=[],this._values=[],this._cacheKey=e5,this._cacheIndex=-2}return Object.defineProperty(t6.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t6.prototype.has=function(e6){return this._find(e6,!1)>=0},t6.prototype.get=function(e6){var t7=this._find(e6,!1);return t7>=0?this._values[t7]:void 0},t6.prototype.set=function(e6,t7){var n5=this._find(e6,!0);return this._values[n5]=t7,this},t6.prototype.delete=function(t7){var n5=this._find(t7,!1);if(n5>=0){for(var r6=this._keys.length,i3=n5+1;i3<r6;i3++)this._keys[i3-1]=this._keys[i3],this._values[i3-1]=this._values[i3];return this._keys.length--,this._values.length--,t7===this._cacheKey&&(this._cacheKey=e5,this._cacheIndex=-2),!0}return!1},t6.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e5,this._cacheIndex=-2},t6.prototype.keys=function(){return new n4(this._keys,this._values,r5)},t6.prototype.values=function(){return new n4(this._keys,this._values,i2)},t6.prototype.entries=function(){return new n4(this._keys,this._values,a2)},t6.prototype["@@iterator"]=function(){return this.entries()},t6.prototype[o2]=function(){return this.entries()},t6.prototype._find=function(e6,t7){return this._cacheKey!==e6&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=e6)),this._cacheIndex<0&&t7&&(this._cacheIndex=this._keys.length,this._keys.push(e6),this._values.push(void 0)),this._cacheIndex},t6}();function r5(e6,t6){return e6}function i2(e6,t6){return t6}function a2(e6,t6){return[e6,t6]}}():Map,d=f||typeof Set!="function"||typeof Set.prototype.entries!="function"?function(){function e5(){this._map=new p}return Object.defineProperty(e5.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e5.prototype.has=function(e6){return this._map.has(e6)},e5.prototype.add=function(e6){return this._map.set(e6,e6),this},e5.prototype.delete=function(e6){return this._map.delete(e6)},e5.prototype.clear=function(){this._map.clear()},e5.prototype.keys=function(){return this._map.keys()},e5.prototype.values=function(){return this._map.values()},e5.prototype.entries=function(){return this._map.entries()},e5.prototype["@@iterator"]=function(){return this.keys()},e5.prototype[o2]=function(){return this.keys()},e5}():Set,h=new(f||typeof WeakMap!="function"?function(){var e5=c.create(),n4=r5();return function(){function e6(){this._key=r5()}return e6.prototype.has=function(e7){var t5=i2(e7,!1);return t5!==void 0&&c.has(t5,this._key)},e6.prototype.get=function(e7){var t5=i2(e7,!1);return t5!==void 0?c.get(t5,this._key):void 0},e6.prototype.set=function(e7,t5){return i2(e7,!0)[this._key]=t5,this},e6.prototype.delete=function(e7){var t5=i2(e7,!1);return t5!==void 0&&delete t5[this._key]},e6.prototype.clear=function(){this._key=r5()},e6}();function r5(){var t5;do t5="@@WeakMap@@"+a2();while(c.has(e5,t5));return e5[t5]=!0,t5}function i2(e6,r6){if(!t4.call(e6,n4)){if(!r6)return;Object.defineProperty(e6,n4,{value:c.create()})}return e6[n4]}function o3(e6,t5){for(var n5=0;n5<t5;++n5)e6[n5]=255*Math.random()|0;return e6}function a2(){var e6,t5=(e6=16,typeof Uint8Array=="function"?typeof crypto<"u"?crypto.getRandomValues(new Uint8Array(e6)):typeof msCrypto<"u"?msCrypto.getRandomValues(new Uint8Array(e6)):o3(new Uint8Array(e6),e6):o3(new Array(e6),e6));t5[6]=79&t5[6]|64,t5[8]=191&t5[8]|128;for(var n5="",r6=0;r6<16;++r6){var i3=t5[r6];r6!==4&&r6!==6&&r6!==8||(n5+="-"),i3<16&&(n5+="0"),n5+=i3.toString(16).toLowerCase()}return n5}}():WeakMap);function v(e5,t5,n4){var r5=h.get(e5);if(T(r5)){if(!n4)return;r5=new p,h.set(e5,r5)}var i2=r5.get(t5);if(T(i2)){if(!n4)return;i2=new p,r5.set(t5,i2)}return i2}function m(e5,t5,n4){if(y(e5,t5,n4))return!0;var r5=M(t5);return!N(r5)&&m(e5,r5,n4)}function y(e5,t5,n4){var r5=v(t5,n4,!1);return!T(r5)&&!!r5.has(e5)}function g(e5,t5,n4){if(y(e5,t5,n4))return b(e5,t5,n4);var r5=M(t5);return N(r5)?void 0:g(e5,r5,n4)}function b(e5,t5,n4){var r5=v(t5,n4,!1);if(!T(r5))return r5.get(e5)}function _(e5,t5,n4,r5){v(n4,r5,!0).set(e5,t5)}function E(e5,t5){var n4=w(e5,t5),r5=M(e5);if(r5===null)return n4;var i2=E(r5,t5);if(i2.length<=0)return n4;if(n4.length<=0)return i2;for(var o3=new d,a2=[],s2=0,u2=n4;s2<u2.length;s2++){var c2=u2[s2];o3.has(c2)||(o3.add(c2),a2.push(c2))}for(var l2=0,f2=i2;l2<f2.length;l2++)c2=f2[l2],o3.has(c2)||(o3.add(c2),a2.push(c2));return a2}function w(e5,t5){var n4=[],r5=v(e5,t5,!1);if(T(r5))return n4;for(var i2=function(e6){var t6=P(e6,o2);if(!j(t6))throw new TypeError;var n5=t6.call(e6);if(!I(n5))throw new TypeError;return n5}(r5.keys()),a2=0;;){var s2=D(i2);if(!s2)return n4.length=a2,n4;var u2=s2.value;try{n4[a2]=u2}catch(e6){try{k(i2)}finally{throw e6}}a2++}}function O(e5){if(e5===null)return 1;switch(typeof e5){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return e5===null?1:6;default:return 6}}function T(e5){return e5===void 0}function N(e5){return e5===null}function I(e5){return typeof e5=="object"?e5!==null:typeof e5=="function"}function S(e5,t5){switch(O(e5)){case 0:case 1:case 2:case 3:case 4:case 5:return e5}var n4=t5===3?"string":t5===5?"number":"default",i2=P(e5,r4);if(i2!==void 0){var o3=i2.call(e5,n4);if(I(o3))throw new TypeError;return o3}return function(e6,t6){if(t6==="string"){var n5=e6.toString;if(j(n5)&&!I(i3=n5.call(e6))||j(r5=e6.valueOf)&&!I(i3=r5.call(e6)))return i3}else{var r5;if(j(r5=e6.valueOf)&&!I(i3=r5.call(e6)))return i3;var i3,o4=e6.toString;if(j(o4)&&!I(i3=o4.call(e6)))return i3}throw new TypeError}(e5,n4==="default"?"number":n4)}function x(e5){var t5=S(e5,3);return typeof t5=="symbol"?t5:function(e6){return""+e6}(t5)}function A(e5){return Array.isArray?Array.isArray(e5):e5 instanceof Object?e5 instanceof Array:Object.prototype.toString.call(e5)==="[object Array]"}function j(e5){return typeof e5=="function"}function R(e5){return typeof e5=="function"}function P(e5,t5){var n4=e5[t5];if(n4!=null){if(!j(n4))throw new TypeError;return n4}}function D(e5){var t5=e5.next();return!t5.done&&t5}function k(e5){var t5=e5.return;t5&&t5.call(e5)}function M(e5){var t5=Object.getPrototypeOf(e5);if(typeof e5!="function"||e5===l||t5!==l)return t5;var n4=e5.prototype,r5=n4&&Object.getPrototypeOf(n4);if(r5==null||r5===Object.prototype)return t5;var i2=r5.constructor;return typeof i2!="function"||i2===e5?t5:i2}function L(e5){return e5.__=void 0,delete e5.__,e5}e4("decorate",function(e5,t5,n4,r5){if(T(n4)){if(!A(e5))throw new TypeError;if(!R(t5))throw new TypeError;return function(e6,t6){for(var n5=e6.length-1;n5>=0;--n5){var r6=(0,e6[n5])(t6);if(!T(r6)&&!N(r6)){if(!R(r6))throw new TypeError;t6=r6}}return t6}(e5,t5)}if(!A(e5))throw new TypeError;if(!I(t5))throw new TypeError;if(!I(r5)&&!T(r5)&&!N(r5))throw new TypeError;return N(r5)&&(r5=void 0),function(e6,t6,n5,r6){for(var i2=e6.length-1;i2>=0;--i2){var o3=(0,e6[i2])(t6,n5,r6);if(!T(o3)&&!N(o3)){if(!I(o3))throw new TypeError;r6=o3}}return r6}(e5,t5,n4=x(n4),r5)}),e4("metadata",function(e5,t5){return function(n4,r5){if(!I(n4))throw new TypeError;if(!T(r5)&&!function(e6){switch(O(e6)){case 3:case 4:return!0;default:return!1}}(r5))throw new TypeError;_(e5,t5,n4,r5)}}),e4("defineMetadata",function(e5,t5,n4,r5){if(!I(n4))throw new TypeError;return T(r5)||(r5=x(r5)),_(e5,t5,n4,r5)}),e4("hasMetadata",function(e5,t5,n4){if(!I(t5))throw new TypeError;return T(n4)||(n4=x(n4)),m(e5,t5,n4)}),e4("hasOwnMetadata",function(e5,t5,n4){if(!I(t5))throw new TypeError;return T(n4)||(n4=x(n4)),y(e5,t5,n4)}),e4("getMetadata",function(e5,t5,n4){if(!I(t5))throw new TypeError;return T(n4)||(n4=x(n4)),g(e5,t5,n4)}),e4("getOwnMetadata",function(e5,t5,n4){if(!I(t5))throw new TypeError;return T(n4)||(n4=x(n4)),b(e5,t5,n4)}),e4("getMetadataKeys",function(e5,t5){if(!I(e5))throw new TypeError;return T(t5)||(t5=x(t5)),E(e5,t5)}),e4("getOwnMetadataKeys",function(e5,t5){if(!I(e5))throw new TypeError;return T(t5)||(t5=x(t5)),w(e5,t5)}),e4("deleteMetadata",function(e5,t5,n4){if(!I(t5))throw new TypeError;T(n4)||(n4=x(n4));var r5=v(t5,n4,!1);if(T(r5)||!r5.delete(e5))return!1;if(r5.size>0)return!0;var i2=h.get(t5);return i2.delete(n4),i2.size>0||h.delete(t5),!0})}(r3)})()})(r2||(r2={}))},6156:(e2,t2,n2)=>{const r2=Symbol("SemVer ANY");class i{static get ANY(){return r2}constructor(e3,t3){if(t3=o(t3),e3 instanceof i){if(e3.loose===!!t3.loose)return e3;e3=e3.value}e3=e3.trim().split(/\s+/).join(" "),c("comparator",e3,t3),this.options=t3,this.loose=!!t3.loose,this.parse(e3),this.semver===r2?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e3){const t3=this.options.loose?a[s.COMPARATORLOOSE]:a[s.COMPARATOR],n3=e3.match(t3);if(!n3)throw new TypeError(`Invalid comparator: ${e3}`);this.operator=n3[1]!==void 0?n3[1]:"",this.operator==="="&&(this.operator=""),n3[2]?this.semver=new l(n3[2],this.options.loose):this.semver=r2}toString(){return this.value}test(e3){if(c("Comparator.test",e3,this.options.loose),this.semver===r2||e3===r2)return!0;if(typeof e3=="string")try{e3=new l(e3,this.options)}catch{return!1}return u(e3,this.operator,this.semver,this.options)}intersects(e3,t3){if(!(e3 instanceof i))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""||new f(e3.value,t3).test(this.value):e3.operator===""?e3.value===""||new f(this.value,t3).test(e3.semver):!((t3=o(t3)).includePrerelease&&(this.value==="<0.0.0-0"||e3.value==="<0.0.0-0")||!t3.includePrerelease&&(this.value.startsWith("<0.0.0")||e3.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e3.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e3.operator.startsWith("<"))&&(this.semver.version!==e3.semver.version||!this.operator.includes("=")||!e3.operator.includes("="))&&!(u(this.semver,"<",e3.semver,t3)&&this.operator.startsWith(">")&&e3.operator.startsWith("<"))&&!(u(this.semver,">",e3.semver,t3)&&this.operator.startsWith("<")&&e3.operator.startsWith(">")))}}e2.exports=i;const o=n2(2687),{safeRe:a,t:s}=n2(6138),u=n2(4555),c=n2(9900),l=n2(704),f=n2(9907)},9907:(e2,t2,n2)=>{class r2{constructor(e3,t3){if(t3=o(t3),e3 instanceof r2)return e3.loose===!!t3.loose&&e3.includePrerelease===!!t3.includePrerelease?e3:new r2(e3.raw,t3);if(e3 instanceof a)return this.raw=e3.value,this.set=[[e3]],this.format(),this;if(this.options=t3,this.loose=!!t3.loose,this.includePrerelease=!!t3.includePrerelease,this.raw=e3.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(e4=>this.parseRange(e4)).filter(e4=>e4.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e4=this.set[0];if(this.set=this.set.filter(e5=>!m(e5[0])),this.set.length===0)this.set=[e4];else if(this.set.length>1){for(const e5 of this.set)if(e5.length===1&&y(e5[0])){this.set=[e5];break}}}this.format()}format(){return this.range=this.set.map(e3=>e3.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e3){const t3=((this.options.includePrerelease&&h)|(this.options.loose&&v))+":"+e3,n3=i.get(t3);if(n3)return n3;const r3=this.options.loose,o2=r3?c[l.HYPHENRANGELOOSE]:c[l.HYPHENRANGE];e3=e3.replace(o2,A(this.options.includePrerelease)),s("hyphen replace",e3),e3=e3.replace(c[l.COMPARATORTRIM],f),s("comparator trim",e3);let u2=(e3=(e3=e3.replace(c[l.TILDETRIM],p)).replace(c[l.CARETTRIM],d)).split(" ").map(e4=>b(e4,this.options)).join(" ").split(/\s+/).map(e4=>x(e4,this.options));r3&&(u2=u2.filter(e4=>(s("loose invalid filter",e4,this.options),!!e4.match(c[l.COMPARATORLOOSE])))),s("range list",u2);const y2=new Map,g2=u2.map(e4=>new a(e4,this.options));for(const e4 of g2){if(m(e4))return[e4];y2.set(e4.value,e4)}y2.size>1&&y2.has("")&&y2.delete("");const _2=[...y2.values()];return i.set(t3,_2),_2}intersects(e3,t3){if(!(e3 instanceof r2))throw new TypeError("a Range is required");return this.set.some(n3=>g(n3,t3)&&e3.set.some(e4=>g(e4,t3)&&n3.every(n4=>e4.every(e5=>n4.intersects(e5,t3)))))}test(e3){if(!e3)return!1;if(typeof e3=="string")try{e3=new u(e3,this.options)}catch{return!1}for(let t3=0;t3<this.set.length;t3++)if(j(this.set[t3],e3,this.options))return!0;return!1}}e2.exports=r2;const i=new(n2(4099))({max:1e3}),o=n2(2687),a=n2(6156),s=n2(9900),u=n2(704),{safeRe:c,t:l,comparatorTrimReplace:f,tildeTrimReplace:p,caretTrimReplace:d}=n2(6138),{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:v}=n2(4214),m=e3=>e3.value==="<0.0.0-0",y=e3=>e3.value==="",g=(e3,t3)=>{let n3=!0;const r3=e3.slice();let i2=r3.pop();for(;n3&&r3.length;)n3=r3.every(e4=>i2.intersects(e4,t3)),i2=r3.pop();return n3},b=(e3,t3)=>(s("comp",e3,t3),e3=O(e3,t3),s("caret",e3),e3=E(e3,t3),s("tildes",e3),e3=N(e3,t3),s("xrange",e3),e3=S(e3,t3),s("stars",e3),e3),_=e3=>!e3||e3.toLowerCase()==="x"||e3==="*",E=(e3,t3)=>e3.trim().split(/\s+/).map(e4=>w(e4,t3)).join(" "),w=(e3,t3)=>{const n3=t3.loose?c[l.TILDELOOSE]:c[l.TILDE];return e3.replace(n3,(t4,n4,r3,i2,o2)=>{let a2;return s("tilde",e3,t4,n4,r3,i2,o2),_(n4)?a2="":_(r3)?a2=`>=${n4}.0.0 <${+n4+1}.0.0-0`:_(i2)?a2=`>=${n4}.${r3}.0 <${n4}.${+r3+1}.0-0`:o2?(s("replaceTilde pr",o2),a2=`>=${n4}.${r3}.${i2}-${o2} <${n4}.${+r3+1}.0-0`):a2=`>=${n4}.${r3}.${i2} <${n4}.${+r3+1}.0-0`,s("tilde return",a2),a2})},O=(e3,t3)=>e3.trim().split(/\s+/).map(e4=>T(e4,t3)).join(" "),T=(e3,t3)=>{s("caret",e3,t3);const n3=t3.loose?c[l.CARETLOOSE]:c[l.CARET],r3=t3.includePrerelease?"-0":"";return e3.replace(n3,(t4,n4,i2,o2,a2)=>{let u2;return s("caret",e3,t4,n4,i2,o2,a2),_(n4)?u2="":_(i2)?u2=`>=${n4}.0.0${r3} <${+n4+1}.0.0-0`:_(o2)?u2=n4==="0"?`>=${n4}.${i2}.0${r3} <${n4}.${+i2+1}.0-0`:`>=${n4}.${i2}.0${r3} <${+n4+1}.0.0-0`:a2?(s("replaceCaret pr",a2),u2=n4==="0"?i2==="0"?`>=${n4}.${i2}.${o2}-${a2} <${n4}.${i2}.${+o2+1}-0`:`>=${n4}.${i2}.${o2}-${a2} <${n4}.${+i2+1}.0-0`:`>=${n4}.${i2}.${o2}-${a2} <${+n4+1}.0.0-0`):(s("no pr"),u2=n4==="0"?i2==="0"?`>=${n4}.${i2}.${o2}${r3} <${n4}.${i2}.${+o2+1}-0`:`>=${n4}.${i2}.${o2}${r3} <${n4}.${+i2+1}.0-0`:`>=${n4}.${i2}.${o2} <${+n4+1}.0.0-0`),s("caret return",u2),u2})},N=(e3,t3)=>(s("replaceXRanges",e3,t3),e3.split(/\s+/).map(e4=>I(e4,t3)).join(" ")),I=(e3,t3)=>{e3=e3.trim();const n3=t3.loose?c[l.XRANGELOOSE]:c[l.XRANGE];return e3.replace(n3,(n4,r3,i2,o2,a2,u2)=>{s("xRange",e3,n4,r3,i2,o2,a2,u2);const c2=_(i2),l2=c2||_(o2),f2=l2||_(a2),p2=f2;return r3==="="&&p2&&(r3=""),u2=t3.includePrerelease?"-0":"",c2?n4=r3===">"||r3==="<"?"<0.0.0-0":"*":r3&&p2?(l2&&(o2=0),a2=0,r3===">"?(r3=">=",l2?(i2=+i2+1,o2=0,a2=0):(o2=+o2+1,a2=0)):r3==="<="&&(r3="<",l2?i2=+i2+1:o2=+o2+1),r3==="<"&&(u2="-0"),n4=`${r3+i2}.${o2}.${a2}${u2}`):l2?n4=`>=${i2}.0.0${u2} <${+i2+1}.0.0-0`:f2&&(n4=`>=${i2}.${o2}.0${u2} <${i2}.${+o2+1}.0-0`),s("xRange return",n4),n4})},S=(e3,t3)=>(s("replaceStars",e3,t3),e3.trim().replace(c[l.STAR],"")),x=(e3,t3)=>(s("replaceGTE0",e3,t3),e3.trim().replace(c[t3.includePrerelease?l.GTE0PRE:l.GTE0],"")),A=e3=>(t3,n3,r3,i2,o2,a2,s2,u2,c2,l2,f2,p2,d2)=>`${n3=_(r3)?"":_(i2)?`>=${r3}.0.0${e3?"-0":""}`:_(o2)?`>=${r3}.${i2}.0${e3?"-0":""}`:a2?`>=${n3}`:`>=${n3}${e3?"-0":""}`} ${u2=_(c2)?"":_(l2)?`<${+c2+1}.0.0-0`:_(f2)?`<${c2}.${+l2+1}.0-0`:p2?`<=${c2}.${l2}.${f2}-${p2}`:e3?`<${c2}.${l2}.${+f2+1}-0`:`<=${u2}`}`.trim(),j=(e3,t3,n3)=>{for(let n4=0;n4<e3.length;n4++)if(!e3[n4].test(t3))return!1;if(t3.prerelease.length&&!n3.includePrerelease){for(let n4=0;n4<e3.length;n4++)if(s(e3[n4].semver),e3[n4].semver!==a.ANY&&e3[n4].semver.prerelease.length>0){const r3=e3[n4].semver;if(r3.major===t3.major&&r3.minor===t3.minor&&r3.patch===t3.patch)return!0}return!1}return!0}},704:(e2,t2,n2)=>{const r2=n2(9900),{MAX_LENGTH:i,MAX_SAFE_INTEGER:o}=n2(4214),{safeRe:a,t:s}=n2(6138),u=n2(2687),{compareIdentifiers:c}=n2(6647);class l{constructor(e3,t3){if(t3=u(t3),e3 instanceof l){if(e3.loose===!!t3.loose&&e3.includePrerelease===!!t3.includePrerelease)return e3;e3=e3.version}else if(typeof e3!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e3}".`);if(e3.length>i)throw new TypeError(`version is longer than ${i} characters`);r2("SemVer",e3,t3),this.options=t3,this.loose=!!t3.loose,this.includePrerelease=!!t3.includePrerelease;const n3=e3.trim().match(t3.loose?a[s.LOOSE]:a[s.FULL]);if(!n3)throw new TypeError(`Invalid Version: ${e3}`);if(this.raw=e3,this.major=+n3[1],this.minor=+n3[2],this.patch=+n3[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n3[4]?this.prerelease=n3[4].split(".").map(e4=>{if(/^[0-9]+$/.test(e4)){const t4=+e4;if(t4>=0&&t4<o)return t4}return e4}):this.prerelease=[],this.build=n3[5]?n3[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e3){if(r2("SemVer.compare",this.version,this.options,e3),!(e3 instanceof l)){if(typeof e3=="string"&&e3===this.version)return 0;e3=new l(e3,this.options)}return e3.version===this.version?0:this.compareMain(e3)||this.comparePre(e3)}compareMain(e3){return e3 instanceof l||(e3=new l(e3,this.options)),c(this.major,e3.major)||c(this.minor,e3.minor)||c(this.patch,e3.patch)}comparePre(e3){if(e3 instanceof l||(e3=new l(e3,this.options)),this.prerelease.length&&!e3.prerelease.length)return-1;if(!this.prerelease.length&&e3.prerelease.length)return 1;if(!this.prerelease.length&&!e3.prerelease.length)return 0;let t3=0;do{const n3=this.prerelease[t3],i2=e3.prerelease[t3];if(r2("prerelease compare",t3,n3,i2),n3===void 0&&i2===void 0)return 0;if(i2===void 0)return 1;if(n3===void 0)return-1;if(n3!==i2)return c(n3,i2)}while(++t3)}compareBuild(e3){e3 instanceof l||(e3=new l(e3,this.options));let t3=0;do{const n3=this.build[t3],i2=e3.build[t3];if(r2("prerelease compare",t3,n3,i2),n3===void 0&&i2===void 0)return 0;if(i2===void 0)return 1;if(n3===void 0)return-1;if(n3!==i2)return c(n3,i2)}while(++t3)}inc(e3,t3,n3){switch(e3){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t3,n3);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t3,n3);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t3,n3),this.inc("pre",t3,n3);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t3,n3),this.inc("pre",t3,n3);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const e4=Number(n3)?1:0;if(!t3&&n3===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[e4];else{let r3=this.prerelease.length;for(;--r3>=0;)typeof this.prerelease[r3]=="number"&&(this.prerelease[r3]++,r3=-2);if(r3===-1){if(t3===this.prerelease.join(".")&&n3===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e4)}}if(t3){let r3=[t3,e4];n3===!1&&(r3=[t3]),c(this.prerelease[0],t3)===0?isNaN(this.prerelease[1])&&(this.prerelease=r3):this.prerelease=r3}break}default:throw new Error(`invalid increment argument: ${e3}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e2.exports=l},1554:(e2,t2,n2)=>{const r2=n2(3324);e2.exports=(e3,t3)=>{const n3=r2(e3.trim().replace(/^[=v]+/,""),t3);return n3?n3.version:null}},4555:(e2,t2,n2)=>{const r2=n2(3013),i=n2(3443),o=n2(1112),a=n2(3925),s=n2(5967),u=n2(5164);e2.exports=(e3,t3,n3,c)=>{switch(t3){case"===":return typeof e3=="object"&&(e3=e3.version),typeof n3=="object"&&(n3=n3.version),e3===n3;case"!==":return typeof e3=="object"&&(e3=e3.version),typeof n3=="object"&&(n3=n3.version),e3!==n3;case"":case"=":case"==":return r2(e3,n3,c);case"!=":return i(e3,n3,c);case">":return o(e3,n3,c);case">=":return a(e3,n3,c);case"<":return s(e3,n3,c);case"<=":return u(e3,n3,c);default:throw new TypeError(`Invalid operator: ${t3}`)}}},7342:(e2,t2,n2)=>{const r2=n2(704),i=n2(3324),{safeRe:o,t:a}=n2(6138);e2.exports=(e3,t3)=>{if(e3 instanceof r2)return e3;if(typeof e3=="number"&&(e3=String(e3)),typeof e3!="string")return null;let n3=null;if((t3=t3||{}).rtl){let t4;for(;(t4=o[a.COERCERTL].exec(e3))&&(!n3||n3.index+n3[0].length!==e3.length);)n3&&t4.index+t4[0].length===n3.index+n3[0].length||(n3=t4),o[a.COERCERTL].lastIndex=t4.index+t4[1].length+t4[2].length;o[a.COERCERTL].lastIndex=-1}else n3=e3.match(o[a.COERCE]);return n3===null?null:i(`${n3[2]}.${n3[3]||"0"}.${n3[4]||"0"}`,t3)}},2537:(e2,t2,n2)=>{const r2=n2(704);e2.exports=(e3,t3,n3)=>{const i=new r2(e3,n3),o=new r2(t3,n3);return i.compare(o)||i.compareBuild(o)}},1399:(e2,t2,n2)=>{const r2=n2(8396);e2.exports=(e3,t3)=>r2(e3,t3,!0)},8396:(e2,t2,n2)=>{const r2=n2(704);e2.exports=(e3,t3,n3)=>new r2(e3,n3).compare(new r2(t3,n3))},556:(e2,t2,n2)=>{const r2=n2(3324);e2.exports=(e3,t3)=>{const n3=r2(e3,null,!0),i=r2(t3,null,!0),o=n3.compare(i);if(o===0)return null;const a=o>0,s=a?n3:i,u=a?i:n3,c=!!s.prerelease.length;if(u.prerelease.length&&!c)return u.patch||u.minor?s.patch?"patch":s.minor?"minor":"major":"major";const l=c?"pre":"";return n3.major!==i.major?l+"major":n3.minor!==i.minor?l+"minor":n3.patch!==i.patch?l+"patch":"prerelease"}},3013:(e2,t2,n2)=>{const r2=n2(8396);e2.exports=(e3,t3,n3)=>r2(e3,t3,n3)===0},1112:(e2,t2,n2)=>{const r2=n2(8396);e2.exports=(e3,t3,n3)=>r2(e3,t3,n3)>0},3925:(e2,t2,n2)=>{const r2=n2(8396);e2.exports=(e3,t3,n3)=>r2(e3,t3,n3)>=0},2043:(e2,t2,n2)=>{const r2=n2(704);e2.exports=(e3,t3,n3,i,o)=>{typeof n3=="string"&&(o=i,i=n3,n3=void 0);try{return new r2(e3 instanceof r2?e3.version:e3,n3).inc(t3,i,o).version}catch{return null}}},5967:(e2,t2,n2)=>{const r2=n2(8396);e2.exports=(e3,t3,n3)=>r2(e3,t3,n3)<0},5164:(e2,t2,n2)=>{const r2=n2(8396);e2.exports=(e3,t3,n3)=>r2(e3,t3,n3)<=0},5502:(e2,t2,n2)=>{const r2=n2(704);e2.exports=(e3,t3)=>new r2(e3,t3).major},8538:(e2,t2,n2)=>{const r2=n2(704);e2.exports=(e3,t3)=>new r2(e3,t3).minor},3443:(e2,t2,n2)=>{const r2=n2(8396);e2.exports=(e3,t3,n3)=>r2(e3,t3,n3)!==0},3324:(e2,t2,n2)=>{const r2=n2(704);e2.exports=(e3,t3,n3=!1)=>{if(e3 instanceof r2)return e3;try{return new r2(e3,t3)}catch(e4){if(!n3)return null;throw e4}}},2649:(e2,t2,n2)=>{const r2=n2(704);e2.exports=(e3,t3)=>new r2(e3,t3).patch},4453:(e2,t2,n2)=>{const r2=n2(3324);e2.exports=(e3,t3)=>{const n3=r2(e3,t3);return n3&&n3.prerelease.length?n3.prerelease:null}},1334:(e2,t2,n2)=>{const r2=n2(8396);e2.exports=(e3,t3,n3)=>r2(t3,e3,n3)},745:(e2,t2,n2)=>{const r2=n2(2537);e2.exports=(e3,t3)=>e3.sort((e4,n3)=>r2(n3,e4,t3))},4050:(e2,t2,n2)=>{const r2=n2(9907);e2.exports=(e3,t3,n3)=>{try{t3=new r2(t3,n3)}catch{return!1}return t3.test(e3)}},1123:(e2,t2,n2)=>{const r2=n2(2537);e2.exports=(e3,t3)=>e3.sort((e4,n3)=>r2(e4,n3,t3))},9890:(e2,t2,n2)=>{const r2=n2(3324);e2.exports=(e3,t3)=>{const n3=r2(e3,t3);return n3?n3.version:null}},7449:(e2,t2,n2)=>{const r2=n2(6138),i=n2(4214),o=n2(704),a=n2(6647),s=n2(3324),u=n2(9890),c=n2(1554),l=n2(2043),f=n2(556),p=n2(5502),d=n2(8538),h=n2(2649),v=n2(4453),m=n2(8396),y=n2(1334),g=n2(1399),b=n2(2537),_=n2(1123),E=n2(745),w=n2(1112),O=n2(5967),T=n2(3013),N=n2(3443),I=n2(3925),S=n2(5164),x=n2(4555),A=n2(7342),j=n2(6156),R=n2(9907),P=n2(4050),D=n2(6339),k=n2(2216),M=n2(7874),L=n2(6873),C=n2(3998),F=n2(5375),V=n2(2823),U=n2(6722),$=n2(5088),B=n2(2497),H=n2(3932);e2.exports={parse:s,valid:u,clean:c,inc:l,diff:f,major:p,minor:d,patch:h,prerelease:v,compare:m,rcompare:y,compareLoose:g,compareBuild:b,sort:_,rsort:E,gt:w,lt:O,eq:T,neq:N,gte:I,lte:S,cmp:x,coerce:A,Comparator:j,Range:R,satisfies:P,toComparators:D,maxSatisfying:k,minSatisfying:M,minVersion:L,validRange:C,outside:F,gtr:V,ltr:U,intersects:$,simplifyRange:B,subset:H,SemVer:o,re:r2.re,src:r2.src,tokens:r2.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}},4214:e2=>{const t2=Number.MAX_SAFE_INTEGER||9007199254740991;e2.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_INTEGER:t2,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},9900:(e2,t2,n2)=>{var r2=n2(8558);const i=typeof r2=="object"&&r2.env&&r2.env.NODE_DEBUG&&/\bsemver\b/i.test(r2.env.NODE_DEBUG)?(...e3)=>console.error("SEMVER",...e3):()=>{};e2.exports=i},6647:e2=>{const t2=/^[0-9]+$/,n2=(e3,n3)=>{const r2=t2.test(e3),i=t2.test(n3);return r2&&i&&(e3=+e3,n3=+n3),e3===n3?0:r2&&!i?-1:i&&!r2?1:e3<n3?-1:1};e2.exports={compareIdentifiers:n2,rcompareIdentifiers:(e3,t3)=>n2(t3,e3)}},2687:e2=>{const t2=Object.freeze({loose:!0}),n2=Object.freeze({});e2.exports=e3=>e3?typeof e3!="object"?t2:e3:n2},6138:(e2,t2,n2)=>{const{MAX_SAFE_COMPONENT_LENGTH:r2}=n2(4214),i=n2(9900),o=(t2=e2.exports={}).re=[],a=t2.safeRe=[],s=t2.src=[],u=t2.t={};let c=0;const l=(e3,t3,n3)=>{const r3=t3.split("\\s*").join("\\s{0,1}").split("\\s+").join("\\s"),l2=c++;i(e3,l2,t3),u[e3]=l2,s[l2]=t3,o[l2]=new RegExp(t3,n3?"g":void 0),a[l2]=new RegExp(r3,n3?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${s[u.NUMERICIDENTIFIER]})\\.(${s[u.NUMERICIDENTIFIER]})\\.(${s[u.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${s[u.NUMERICIDENTIFIERLOOSE]})\\.(${s[u.NUMERICIDENTIFIERLOOSE]})\\.(${s[u.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${s[u.NUMERICIDENTIFIER]}|${s[u.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${s[u.NUMERICIDENTIFIERLOOSE]}|${s[u.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${s[u.PRERELEASEIDENTIFIER]}(?:\\.${s[u.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${s[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[u.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${s[u.BUILDIDENTIFIER]}(?:\\.${s[u.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${s[u.MAINVERSION]}${s[u.PRERELEASE]}?${s[u.BUILD]}?`),l("FULL",`^${s[u.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${s[u.MAINVERSIONLOOSE]}${s[u.PRERELEASELOOSE]}?${s[u.BUILD]}?`),l("LOOSE",`^${s[u.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${s[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${s[u.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${s[u.XRANGEIDENTIFIER]})(?:\\.(${s[u.XRANGEIDENTIFIER]})(?:\\.(${s[u.XRANGEIDENTIFIER]})(?:${s[u.PRERELEASE]})?${s[u.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${s[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[u.XRANGEIDENTIFIERLOOSE]})(?:${s[u.PRERELEASELOOSE]})?${s[u.BUILD]}?)?)?`),l("XRANGE",`^${s[u.GTLT]}\\s*${s[u.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${s[u.GTLT]}\\s*${s[u.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${r2}})(?:\\.(\\d{1,${r2}}))?(?:\\.(\\d{1,${r2}}))?(?:$|[^\\d])`),l("COERCERTL",s[u.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${s[u.LONETILDE]}\\s+`,!0),t2.tildeTrimReplace="$1~",l("TILDE",`^${s[u.LONETILDE]}${s[u.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${s[u.LONETILDE]}${s[u.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${s[u.LONECARET]}\\s+`,!0),t2.caretTrimReplace="$1^",l("CARET",`^${s[u.LONECARET]}${s[u.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${s[u.LONECARET]}${s[u.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${s[u.GTLT]}\\s*(${s[u.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${s[u.GTLT]}\\s*(${s[u.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${s[u.GTLT]}\\s*(${s[u.LOOSEPLAIN]}|${s[u.XRANGEPLAIN]})`,!0),t2.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${s[u.XRANGEPLAIN]})\\s+-\\s+(${s[u.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${s[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[u.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},2823:(e2,t2,n2)=>{const r2=n2(5375);e2.exports=(e3,t3,n3)=>r2(e3,t3,">",n3)},5088:(e2,t2,n2)=>{const r2=n2(9907);e2.exports=(e3,t3,n3)=>(e3=new r2(e3,n3),t3=new r2(t3,n3),e3.intersects(t3,n3))},6722:(e2,t2,n2)=>{const r2=n2(5375);e2.exports=(e3,t3,n3)=>r2(e3,t3,"<",n3)},2216:(e2,t2,n2)=>{const r2=n2(704),i=n2(9907);e2.exports=(e3,t3,n3)=>{let o=null,a=null,s=null;try{s=new i(t3,n3)}catch{return null}return e3.forEach(e4=>{s.test(e4)&&(o&&a.compare(e4)!==-1||(o=e4,a=new r2(o,n3)))}),o}},7874:(e2,t2,n2)=>{const r2=n2(704),i=n2(9907);e2.exports=(e3,t3,n3)=>{let o=null,a=null,s=null;try{s=new i(t3,n3)}catch{return null}return e3.forEach(e4=>{s.test(e4)&&(o&&a.compare(e4)!==1||(o=e4,a=new r2(o,n3)))}),o}},6873:(e2,t2,n2)=>{const r2=n2(704),i=n2(9907),o=n2(1112);e2.exports=(e3,t3)=>{e3=new i(e3,t3);let n3=new r2("0.0.0");if(e3.test(n3)||(n3=new r2("0.0.0-0"),e3.test(n3)))return n3;n3=null;for(let t4=0;t4<e3.set.length;++t4){const i2=e3.set[t4];let a=null;i2.forEach(e4=>{const t5=new r2(e4.semver.version);switch(e4.operator){case">":t5.prerelease.length===0?t5.patch++:t5.prerelease.push(0),t5.raw=t5.format();case"":case">=":a&&!o(t5,a)||(a=t5);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e4.operator}`)}}),!a||n3&&!o(n3,a)||(n3=a)}return n3&&e3.test(n3)?n3:null}},5375:(e2,t2,n2)=>{const r2=n2(704),i=n2(6156),{ANY:o}=i,a=n2(9907),s=n2(4050),u=n2(1112),c=n2(5967),l=n2(5164),f=n2(3925);e2.exports=(e3,t3,n3,p)=>{let d,h,v,m,y;switch(e3=new r2(e3,p),t3=new a(t3,p),n3){case">":d=u,h=l,v=c,m=">",y=">=";break;case"<":d=c,h=f,v=u,m="<",y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e3,t3,p))return!1;for(let n4=0;n4<t3.set.length;++n4){const r3=t3.set[n4];let a2=null,s2=null;if(r3.forEach(e4=>{e4.semver===o&&(e4=new i(">=0.0.0")),a2=a2||e4,s2=s2||e4,d(e4.semver,a2.semver,p)?a2=e4:v(e4.semver,s2.semver,p)&&(s2=e4)}),a2.operator===m||a2.operator===y||(!s2.operator||s2.operator===m)&&h(e3,s2.semver)||s2.operator===y&&v(e3,s2.semver))return!1}return!0}},2497:(e2,t2,n2)=>{const r2=n2(4050),i=n2(8396);e2.exports=(e3,t3,n3)=>{const o=[];let a=null,s=null;const u=e3.sort((e4,t4)=>i(e4,t4,n3));for(const e4 of u)r2(e4,t3,n3)?(s=e4,a||(a=e4)):(s&&o.push([a,s]),s=null,a=null);a&&o.push([a,null]);const c=[];for(const[e4,t4]of o)e4===t4?c.push(e4):t4||e4!==u[0]?t4?e4===u[0]?c.push(`<=${t4}`):c.push(`${e4} - ${t4}`):c.push(`>=${e4}`):c.push("*");const l=c.join(" || "),f=typeof t3.raw=="string"?t3.raw:String(t3);return l.length<f.length?l:t3}},3932:(e2,t2,n2)=>{const r2=n2(9907),i=n2(6156),{ANY:o}=i,a=n2(4050),s=n2(8396),u=[new i(">=0.0.0-0")],c=[new i(">=0.0.0")],l=(e3,t3,n3)=>{if(e3===t3)return!0;if(e3.length===1&&e3[0].semver===o){if(t3.length===1&&t3[0].semver===o)return!0;e3=n3.includePrerelease?u:c}if(t3.length===1&&t3[0].semver===o){if(n3.includePrerelease)return!0;t3=c}const r3=new Set;let i2,l2,d,h,v,m,y;for(const t4 of e3)t4.operator===">"||t4.operator===">="?i2=f(i2,t4,n3):t4.operator==="<"||t4.operator==="<="?l2=p(l2,t4,n3):r3.add(t4.semver);if(r3.size>1||i2&&l2&&(d=s(i2.semver,l2.semver,n3),d>0||d===0&&(i2.operator!==">="||l2.operator!=="<=")))return null;for(const e4 of r3){if(i2&&!a(e4,String(i2),n3)||l2&&!a(e4,String(l2),n3))return null;for(const r4 of t3)if(!a(e4,String(r4),n3))return!1;return!0}let g=!(!l2||n3.includePrerelease||!l2.semver.prerelease.length)&&l2.semver,b=!(!i2||n3.includePrerelease||!i2.semver.prerelease.length)&&i2.semver;g&&g.prerelease.length===1&&l2.operator==="<"&&g.prerelease[0]===0&&(g=!1);for(const e4 of t3){if(y=y||e4.operator===">"||e4.operator===">=",m=m||e4.operator==="<"||e4.operator==="<=",i2){if(b&&e4.semver.prerelease&&e4.semver.prerelease.length&&e4.semver.major===b.major&&e4.semver.minor===b.minor&&e4.semver.patch===b.patch&&(b=!1),e4.operator===">"||e4.operator===">="){if(h=f(i2,e4,n3),h===e4&&h!==i2)return!1}else if(i2.operator===">="&&!a(i2.semver,String(e4),n3))return!1}if(l2){if(g&&e4.semver.prerelease&&e4.semver.prerelease.length&&e4.semver.major===g.major&&e4.semver.minor===g.minor&&e4.semver.patch===g.patch&&(g=!1),e4.operator==="<"||e4.operator==="<="){if(v=p(l2,e4,n3),v===e4&&v!==l2)return!1}else if(l2.operator==="<="&&!a(l2.semver,String(e4),n3))return!1}if(!e4.operator&&(l2||i2)&&d!==0)return!1}return!(i2&&m&&!l2&&d!==0||l2&&y&&!i2&&d!==0||b||g)},f=(e3,t3,n3)=>{if(!e3)return t3;const r3=s(e3.semver,t3.semver,n3);return r3>0?e3:r3<0||t3.operator===">"&&e3.operator===">="?t3:e3},p=(e3,t3,n3)=>{if(!e3)return t3;const r3=s(e3.semver,t3.semver,n3);return r3<0?e3:r3>0||t3.operator==="<"&&e3.operator==="<="?t3:e3};e2.exports=(e3,t3,n3={})=>{if(e3===t3)return!0;e3=new r2(e3,n3),t3=new r2(t3,n3);let i2=!1;e:for(const r3 of e3.set){for(const e4 of t3.set){const t4=l(r3,e4,n3);if(i2=i2||t4!==null,t4)continue e}if(i2)return!1}return!0}},6339:(e2,t2,n2)=>{const r2=n2(9907);e2.exports=(e3,t3)=>new r2(e3,t3).set.map(e4=>e4.map(e5=>e5.value).join(" ").trim().split(" "))},3998:(e2,t2,n2)=>{const r2=n2(9907);e2.exports=(e3,t3)=>{try{return new r2(e3,t3).range||"*"}catch{return null}}},3921:e2=>{"use strict";e2.exports=(e3,t2)=>{if(typeof e3!="string"||typeof t2!="string")throw new TypeError("Expected the arguments to be of type `string`");if(t2==="")return[e3];const n2=e3.indexOf(t2);return n2===-1?[e3]:[e3.slice(0,n2),e3.slice(n2+t2.length)]}},373:e2=>{"use strict";e2.exports=e3=>encodeURIComponent(e3).replace(/[!'()*]/g,e4=>`%${e4.charCodeAt(0).toString(16).toUpperCase()}`)},7442:e2=>{"use strict";e2.exports=2147483647},9862:(e2,t2,n2)=>{"use strict";var r2=n2(2047),i=n2(7442);e2.exports=function(e3){if((e3=r2(e3))>i)throw new TypeError(e3+" exceeds maximum possible timeout");return e3}},7274:(e2,t2,n2)=>{"use strict";var r2=n2(1184);e2.exports=function(e3){if(typeof e3!="function"||!hasOwnProperty.call(e3,"length"))return!1;try{if(typeof e3.length!="number"||typeof e3.call!="function"||typeof e3.apply!="function")return!1}catch{return!1}return!r2(e3)}},6051:(e2,t2,n2)=>{"use strict";var r2=n2(6909),i={object:!0,function:!0,undefined:!0};e2.exports=function(e3){return!!r2(e3)&&hasOwnProperty.call(i,typeof e3)}},1135:(e2,t2,n2)=>{"use strict";var r2=n2(7274),i=/^\s*class[\s{/}]/,o=Function.prototype.toString;e2.exports=function(e3){return!!r2(e3)&&!i.test(o.call(e3))}},1184:(e2,t2,n2)=>{"use strict";var r2=n2(6051);e2.exports=function(e3){if(!r2(e3))return!1;try{return!!e3.constructor&&e3.constructor.prototype===e3}catch{return!1}}},6909:e2=>{"use strict";e2.exports=function(e3){return e3!=null}},2176:function(e2,t2,n2){var r2,i,o;o=function(){return function(){return function(e3){var t3=[];if(e3.length===0)return"";if(typeof e3[0]!="string")throw new TypeError("Url must be a string. Received "+e3[0]);if(e3[0].match(/^[^/:]+:\/*$/)&&e3.length>1){var n3=e3.shift();e3[0]=n3+e3[0]}e3[0].match(/^file:\/\/\//)?e3[0]=e3[0].replace(/^([^/:]+):\/*/,"$1:///"):e3[0]=e3[0].replace(/^([^/:]+):\/*/,"$1://");for(var r3=0;r3<e3.length;r3++){var i2=e3[r3];if(typeof i2!="string")throw new TypeError("Url must be a string. Received "+i2);i2!==""&&(r3>0&&(i2=i2.replace(/^[\/]+/,"")),i2=r3<e3.length-1?i2.replace(/[\/]+$/,""):i2.replace(/[\/]+$/,"/"),t3.push(i2))}var o2=t3.join("/"),a=(o2=o2.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return a.shift()+(a.length>0?"?":"")+a.join("&")}(typeof arguments[0]=="object"?arguments[0]:[].slice.call(arguments))}},e2.exports?e2.exports=o():(i=typeof(r2=o)=="function"?r2.call(t2,n2,t2,e2):r2)===void 0||(e2.exports=i)},3724:(e2,t2,n2)=>{var r2=n2(2015);function i(e3,t3,n3){var i2=this,o2=r2.useRef(null),a2=r2.useRef(0),s=r2.useRef(null),u=r2.useRef([]),c=r2.useRef(),l=r2.useRef(),f=r2.useRef(e3),p=r2.useRef(!0);r2.useEffect(function(){f.current=e3},[e3]);var d=!t3&&t3!==0&&typeof window<"u";if(typeof e3!="function")throw new TypeError("Expected a function");t3=+t3||0;var h=!!(n3=n3||{}).leading,v=!("trailing"in n3)||!!n3.trailing,m="maxWait"in n3,y=m?Math.max(+n3.maxWait||0,t3):null;r2.useEffect(function(){return p.current=!0,function(){p.current=!1}},[]);var g=r2.useMemo(function(){var e4=function(e5){var t4=u.current,n5=c.current;return u.current=c.current=null,a2.current=e5,l.current=f.current.apply(n5,t4)},n4=function(e5,t4){d&&cancelAnimationFrame(s.current),s.current=d?requestAnimationFrame(e5):setTimeout(e5,t4)},r3=function(e5){if(!p.current)return!1;var n5=e5-o2.current;return!o2.current||n5>=t3||n5<0||m&&e5-a2.current>=y},g2=function(t4){return s.current=null,v&&u.current?e4(t4):(u.current=c.current=null,l.current)},b=function e5(){var i3=Date.now();if(r3(i3))return g2(i3);if(p.current){var s2=t3-(i3-o2.current),u2=m?Math.min(s2,y-(i3-a2.current)):s2;n4(e5,u2)}},_=function(){var f2=Date.now(),d2=r3(f2);if(u.current=[].slice.call(arguments),c.current=i2,o2.current=f2,d2){if(!s.current&&p.current)return a2.current=o2.current,n4(b,t3),h?e4(o2.current):l.current;if(m)return n4(b,t3),e4(o2.current)}return s.current||n4(b,t3),l.current};return _.cancel=function(){s.current&&(d?cancelAnimationFrame(s.current):clearTimeout(s.current)),a2.current=0,u.current=o2.current=c.current=s.current=null},_.isPending=function(){return!!s.current},_.flush=function(){return s.current?g2(Date.now()):l.current},_},[h,m,t3,y,v,d]);return g}function o(e3,t3){return e3===t3}function a(e3){return typeof e3=="function"?function(){return e3}:e3}t2.useDebounce=function(e3,t3,n3){var s,u,c=n3&&n3.equalityFn||o,l=(s=r2.useState(a(e3)),u=s[1],[s[0],r2.useCallback(function(e4){return u(a(e4))},[])]),f=l[0],p=l[1],d=i(r2.useCallback(function(e4){return p(e4)},[p]),t3,n3),h=r2.useRef(e3);return c(h.current,e3)||(d(e3),h.current=e3),[f,d]},t2.useDebouncedCallback=i,t2.useThrottledCallback=function(e3,t3,n3){var r3=n3===void 0?{}:n3,o2=r3.leading,a2=r3.trailing;return i(e3,t3,{maxWait:t3,leading:o2===void 0||o2,trailing:a2===void 0||a2})}},637:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),Object.defineProperty(t2,"MAX",{enumerable:!0,get:function(){return r2.default}}),Object.defineProperty(t2,"NIL",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t2,"parse",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t2,"stringify",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t2,"v1",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t2,"v1ToV6",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t2,"v3",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t2,"v4",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t2,"v5",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t2,"v6",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t2,"v6ToV1",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t2,"v7",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t2,"validate",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t2,"version",{enumerable:!0,get:function(){return m.default}});var r2=y(n2(5911)),i=y(n2(7462)),o=y(n2(4738)),a=y(n2(9372)),s=y(n2(5408)),u=y(n2(5653)),c=y(n2(5258)),l=y(n2(2771)),f=y(n2(4780)),p=y(n2(1733)),d=y(n2(729)),h=y(n2(1014)),v=y(n2(2303)),m=y(n2(6437));function y(e3){return e3&&e3.__esModule?e3:{default:e3}}},5911:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0,t2.default="ffffffff-ffff-ffff-ffff-ffffffffffff"},6953:(e2,t2)=>{"use strict";function n2(e3){return 14+(e3+64>>>9<<4)+1}function r2(e3,t3){var n3=(65535&e3)+(65535&t3);return(e3>>16)+(t3>>16)+(n3>>16)<<16|65535&n3}function i(e3,t3,n3,i2,o2,a2){return r2((s2=r2(r2(t3,e3),r2(i2,a2)))<<(u2=o2)|s2>>>32-u2,n3);var s2,u2}function o(e3,t3,n3,r3,o2,a2,s2){return i(t3&n3|~t3&r3,e3,t3,o2,a2,s2)}function a(e3,t3,n3,r3,o2,a2,s2){return i(t3&r3|n3&~r3,e3,t3,o2,a2,s2)}function s(e3,t3,n3,r3,o2,a2,s2){return i(t3^n3^r3,e3,t3,o2,a2,s2)}function u(e3,t3,n3,r3,o2,a2,s2){return i(n3^(t3|~r3),e3,t3,o2,a2,s2)}Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0,t2.default=function(e3){if(typeof e3=="string"){var t3=unescape(encodeURIComponent(e3));e3=new Uint8Array(t3.length);for(var i2=0;i2<t3.length;++i2)e3[i2]=t3.charCodeAt(i2)}return function(e4){for(var t4=[],n3=32*e4.length,r3="0123456789abcdef",i3=0;i3<n3;i3+=8){var o2=e4[i3>>5]>>>i3%32&255,a2=parseInt(r3.charAt(o2>>>4&15)+r3.charAt(15&o2),16);t4.push(a2)}return t4}(function(e4,t4){e4[t4>>5]|=128<<t4%32,e4[n2(t4)-1]=t4;for(var i3=1732584193,c=-271733879,l=-1732584194,f=271733878,p=0;p<e4.length;p+=16){var d=i3,h=c,v=l,m=f;i3=o(i3,c,l,f,e4[p],7,-680876936),f=o(f,i3,c,l,e4[p+1],12,-389564586),l=o(l,f,i3,c,e4[p+2],17,606105819),c=o(c,l,f,i3,e4[p+3],22,-1044525330),i3=o(i3,c,l,f,e4[p+4],7,-176418897),f=o(f,i3,c,l,e4[p+5],12,1200080426),l=o(l,f,i3,c,e4[p+6],17,-1473231341),c=o(c,l,f,i3,e4[p+7],22,-45705983),i3=o(i3,c,l,f,e4[p+8],7,1770035416),f=o(f,i3,c,l,e4[p+9],12,-1958414417),l=o(l,f,i3,c,e4[p+10],17,-42063),c=o(c,l,f,i3,e4[p+11],22,-1990404162),i3=o(i3,c,l,f,e4[p+12],7,1804603682),f=o(f,i3,c,l,e4[p+13],12,-40341101),l=o(l,f,i3,c,e4[p+14],17,-1502002290),i3=a(i3,c=o(c,l,f,i3,e4[p+15],22,1236535329),l,f,e4[p+1],5,-165796510),f=a(f,i3,c,l,e4[p+6],9,-1069501632),l=a(l,f,i3,c,e4[p+11],14,643717713),c=a(c,l,f,i3,e4[p],20,-373897302),i3=a(i3,c,l,f,e4[p+5],5,-701558691),f=a(f,i3,c,l,e4[p+10],9,38016083),l=a(l,f,i3,c,e4[p+15],14,-660478335),c=a(c,l,f,i3,e4[p+4],20,-405537848),i3=a(i3,c,l,f,e4[p+9],5,568446438),f=a(f,i3,c,l,e4[p+14],9,-1019803690),l=a(l,f,i3,c,e4[p+3],14,-187363961),c=a(c,l,f,i3,e4[p+8],20,1163531501),i3=a(i3,c,l,f,e4[p+13],5,-1444681467),f=a(f,i3,c,l,e4[p+2],9,-51403784),l=a(l,f,i3,c,e4[p+7],14,1735328473),i3=s(i3,c=a(c,l,f,i3,e4[p+12],20,-1926607734),l,f,e4[p+5],4,-378558),f=s(f,i3,c,l,e4[p+8],11,-2022574463),l=s(l,f,i3,c,e4[p+11],16,1839030562),c=s(c,l,f,i3,e4[p+14],23,-35309556),i3=s(i3,c,l,f,e4[p+1],4,-1530992060),f=s(f,i3,c,l,e4[p+4],11,1272893353),l=s(l,f,i3,c,e4[p+7],16,-155497632),c=s(c,l,f,i3,e4[p+10],23,-1094730640),i3=s(i3,c,l,f,e4[p+13],4,681279174),f=s(f,i3,c,l,e4[p],11,-358537222),l=s(l,f,i3,c,e4[p+3],16,-722521979),c=s(c,l,f,i3,e4[p+6],23,76029189),i3=s(i3,c,l,f,e4[p+9],4,-640364487),f=s(f,i3,c,l,e4[p+12],11,-421815835),l=s(l,f,i3,c,e4[p+15],16,530742520),i3=u(i3,c=s(c,l,f,i3,e4[p+2],23,-995338651),l,f,e4[p],6,-198630844),f=u(f,i3,c,l,e4[p+7],10,1126891415),l=u(l,f,i3,c,e4[p+14],15,-1416354905),c=u(c,l,f,i3,e4[p+5],21,-57434055),i3=u(i3,c,l,f,e4[p+12],6,1700485571),f=u(f,i3,c,l,e4[p+3],10,-1894986606),l=u(l,f,i3,c,e4[p+10],15,-1051523),c=u(c,l,f,i3,e4[p+1],21,-2054922799),i3=u(i3,c,l,f,e4[p+8],6,1873313359),f=u(f,i3,c,l,e4[p+15],10,-30611744),l=u(l,f,i3,c,e4[p+6],15,-1560198380),c=u(c,l,f,i3,e4[p+13],21,1309151649),i3=u(i3,c,l,f,e4[p+4],6,-145523070),f=u(f,i3,c,l,e4[p+11],10,-1120210379),l=u(l,f,i3,c,e4[p+2],15,718787259),c=u(c,l,f,i3,e4[p+9],21,-343485551),i3=r2(i3,d),c=r2(c,h),l=r2(l,v),f=r2(f,m)}return[i3,c,l,f]}(function(e4){if(e4.length===0)return[];for(var t4=8*e4.length,r3=new Uint32Array(n2(t4)),i3=0;i3<t4;i3+=8)r3[i3>>5]|=(255&e4[i3/8])<<i3%32;return r3}(e3),8*e3.length))}},9658:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0;var n2=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);t2.default={randomUUID:n2}},7462:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0,t2.default="00000000-0000-0000-0000-000000000000"},4738:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0;var r2,i=(r2=n2(2303))&&r2.__esModule?r2:{default:r2};t2.default=function(e3){if(!(0,i.default)(e3))throw TypeError("Invalid UUID");var t3,n3=new Uint8Array(16);return n3[0]=(t3=parseInt(e3.slice(0,8),16))>>>24,n3[1]=t3>>>16&255,n3[2]=t3>>>8&255,n3[3]=255&t3,n3[4]=(t3=parseInt(e3.slice(9,13),16))>>>8,n3[5]=255&t3,n3[6]=(t3=parseInt(e3.slice(14,18),16))>>>8,n3[7]=255&t3,n3[8]=(t3=parseInt(e3.slice(19,23),16))>>>8,n3[9]=255&t3,n3[10]=(t3=parseInt(e3.slice(24,36),16))/1099511627776&255,n3[11]=t3/4294967296&255,n3[12]=t3>>>24&255,n3[13]=t3>>>16&255,n3[14]=t3>>>8&255,n3[15]=255&t3,n3}},1290:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0,t2.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i},2432:(e2,t2)=>{"use strict";var n2;Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=function(){if(!n2&&!(n2=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n2(r2)};var r2=new Uint8Array(16)},2180:(e2,t2)=>{"use strict";function n2(e3,t3,n3,r3){switch(e3){case 0:return t3&n3^~t3&r3;case 1:case 3:return t3^n3^r3;case 2:return t3&n3^t3&r3^n3&r3}}function r2(e3,t3){return e3<<t3|e3>>>32-t3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0,t2.default=function(e3){var t3=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof e3=="string"){var o=unescape(encodeURIComponent(e3));e3=[];for(var a=0;a<o.length;++a)e3.push(o.charCodeAt(a))}else Array.isArray(e3)||(e3=Array.prototype.slice.call(e3));e3.push(128);for(var s=e3.length/4+2,u=Math.ceil(s/16),c=new Array(u),l=0;l<u;++l){for(var f=new Uint32Array(16),p=0;p<16;++p)f[p]=e3[64*l+4*p]<<24|e3[64*l+4*p+1]<<16|e3[64*l+4*p+2]<<8|e3[64*l+4*p+3];c[l]=f}c[u-1][14]=8*(e3.length-1)/Math.pow(2,32),c[u-1][14]=Math.floor(c[u-1][14]),c[u-1][15]=8*(e3.length-1)&4294967295;for(var d=0;d<u;++d){for(var h=new Uint32Array(80),v=0;v<16;++v)h[v]=c[d][v];for(var m=16;m<80;++m)h[m]=r2(h[m-3]^h[m-8]^h[m-14]^h[m-16],1);for(var y=i[0],g=i[1],b=i[2],_=i[3],E=i[4],w=0;w<80;++w){var O=Math.floor(w/20),T=r2(y,5)+n2(O,g,b,_)+E+t3[O]+h[w]>>>0;E=_,_=b,b=r2(g,30)>>>0,g=y,y=T}i[0]=i[0]+y>>>0,i[1]=i[1]+g>>>0,i[2]=i[2]+b>>>0,i[3]=i[3]+_>>>0,i[4]=i[4]+E>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,255&i[0],i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,255&i[1],i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,255&i[2],i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,255&i[3],i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,255&i[4]]}},9372:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0,t2.unsafeStringify=s;for(var r2,i=(r2=n2(2303))&&r2.__esModule?r2:{default:r2},o=[],a=0;a<256;++a)o.push((a+256).toString(16).slice(1));function s(e3,t3=0){return(o[e3[t3+0]]+o[e3[t3+1]]+o[e3[t3+2]]+o[e3[t3+3]]+"-"+o[e3[t3+4]]+o[e3[t3+5]]+"-"+o[e3[t3+6]]+o[e3[t3+7]]+"-"+o[e3[t3+8]]+o[e3[t3+9]]+"-"+o[e3[t3+10]]+o[e3[t3+11]]+o[e3[t3+12]]+o[e3[t3+13]]+o[e3[t3+14]]+o[e3[t3+15]]).toLowerCase()}t2.default=function(e3,t3=0){var n3=s(e3,t3);if(!(0,i.default)(n3))throw TypeError("Stringified UUID is invalid");return n3}},5408:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0;var r2,i,o,a=(r2=n2(2432))&&r2.__esModule?r2:{default:r2},s=n2(9372),u=0,c=0;t2.default=function(e3,t3,n3){var r3=t3&&n3||0,l=t3||new Array(16),f=(e3=e3||{}).node,p=e3.clockseq;if(e3._v6||(f||(f=i),p==null&&(p=o)),f==null||p==null){var d=e3.random||(e3.rng||a.default)();f==null&&(f=[d[0],d[1],d[2],d[3],d[4],d[5]],i||e3._v6||(f[0]|=1,i=f)),p==null&&(p=16383&(d[6]<<8|d[7]),o!==void 0||e3._v6||(o=p))}var h=e3.msecs!==void 0?e3.msecs:Date.now(),v=e3.nsecs!==void 0?e3.nsecs:c+1,m=h-u+(v-c)/1e4;if(m<0&&e3.clockseq===void 0&&(p=p+1&16383),(m<0||h>u)&&e3.nsecs===void 0&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u=h,c=v,o=p;var y=(1e4*(268435455&(h+=122192928e5))+v)%4294967296;l[r3++]=y>>>24&255,l[r3++]=y>>>16&255,l[r3++]=y>>>8&255,l[r3++]=255&y;var g=h/4294967296*1e4&268435455;l[r3++]=g>>>8&255,l[r3++]=255&g,l[r3++]=g>>>24&15|16,l[r3++]=g>>>16&255,l[r3++]=p>>>8|128,l[r3++]=255&p;for(var b=0;b<6;++b)l[r3+b]=f[b];return t3||(0,s.unsafeStringify)(l)}},5653:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=function(e3){var t3,n3=(t3=typeof e3=="string"?(0,i.default)(e3):e3,Uint8Array.of((15&t3[6])<<4|t3[7]>>4&15,(15&t3[7])<<4|(240&t3[4])>>4,(15&t3[4])<<4|(240&t3[5])>>4,(15&t3[5])<<4|(240&t3[0])>>4,(15&t3[0])<<4|(240&t3[1])>>4,(15&t3[1])<<4|(240&t3[2])>>4,96|15&t3[2],t3[3],t3[8],t3[9],t3[10],t3[11],t3[12],t3[13],t3[14],t3[15]));return typeof e3=="string"?(0,o.unsafeStringify)(n3):n3};var r2,i=(r2=n2(4738))&&r2.__esModule?r2:{default:r2},o=n2(9372)},5258:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0;var r2=o(n2(3171)),i=o(n2(6953));function o(e3){return e3&&e3.__esModule?e3:{default:e3}}var a=(0,r2.default)("v3",48,i.default);t2.default=a},3171:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.URL=t2.DNS=void 0,t2.default=function(e3,t3,n3){function r3(e4,r4,a2,s2){var u;if(typeof e4=="string"&&(e4=function(e5){e5=unescape(encodeURIComponent(e5));for(var t4=[],n4=0;n4<e5.length;++n4)t4.push(e5.charCodeAt(n4));return t4}(e4)),typeof r4=="string"&&(r4=(0,o.default)(r4)),((u=r4)===null||u===void 0?void 0:u.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var c=new Uint8Array(16+e4.length);if(c.set(r4),c.set(e4,r4.length),(c=n3(c))[6]=15&c[6]|t3,c[8]=63&c[8]|128,a2){s2=s2||0;for(var l=0;l<16;++l)a2[s2+l]=c[l];return a2}return(0,i.unsafeStringify)(c)}try{r3.name=e3}catch{}return r3.DNS=a,r3.URL=s,r3};var r2,i=n2(9372),o=(r2=n2(4738))&&r2.__esModule?r2:{default:r2},a=t2.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",s=t2.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8"},2771:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0;var r2=a(n2(9658)),i=a(n2(2432)),o=n2(9372);function a(e3){return e3&&e3.__esModule?e3:{default:e3}}t2.default=function(e3,t3,n3){if(r2.default.randomUUID&&!t3&&!e3)return r2.default.randomUUID();var a2=(e3=e3||{}).random||(e3.rng||i.default)();if(a2[6]=15&a2[6]|64,a2[8]=63&a2[8]|128,t3){n3=n3||0;for(var s=0;s<16;++s)t3[n3+s]=a2[s];return t3}return(0,o.unsafeStringify)(a2)}},4780:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0;var r2=o(n2(3171)),i=o(n2(2180));function o(e3){return e3&&e3.__esModule?e3:{default:e3}}var a=(0,r2.default)("v5",80,i.default);t2.default=a},1733:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=function(e3={},t3,n3=0){var a2=(0,i.default)(u(u({},e3),{},{_v6:!0}),new Uint8Array(16));if(a2=(0,o.default)(a2),t3){for(var s2=0;s2<16;s2++)t3[n3+s2]=a2[s2];return t3}return(0,r2.unsafeStringify)(a2)};var r2=n2(9372),i=a(n2(5408)),o=a(n2(5653));function a(e3){return e3&&e3.__esModule?e3:{default:e3}}function s(e3,t3){var n3=Object.keys(e3);if(Object.getOwnPropertySymbols){var r3=Object.getOwnPropertySymbols(e3);t3&&(r3=r3.filter(function(t4){return Object.getOwnPropertyDescriptor(e3,t4).enumerable})),n3.push.apply(n3,r3)}return n3}function u(e3){for(var t3=1;t3<arguments.length;t3++){var n3=arguments[t3]!=null?arguments[t3]:{};t3%2?s(Object(n3),!0).forEach(function(t4){c(e3,t4,n3[t4])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e3,Object.getOwnPropertyDescriptors(n3)):s(Object(n3)).forEach(function(t4){Object.defineProperty(e3,t4,Object.getOwnPropertyDescriptor(n3,t4))})}return e3}function c(e3,t3,n3){return(t3=function(e4){var t4=function(e5){if(typeof e5!="object"||!e5)return e5;var t5=e5[Symbol.toPrimitive];if(t5!==void 0){var n4=t5.call(e5,"string");if(typeof n4!="object")return n4;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e5)}(e4);return typeof t4=="symbol"?t4:t4+""}(t3))in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}},729:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=function(e3){var t3,n3=(t3=typeof e3=="string"?(0,i.default)(e3):e3,Uint8Array.of((15&t3[3])<<4|t3[4]>>4&15,(15&t3[4])<<4|(240&t3[5])>>4,(15&t3[5])<<4|15&t3[6],t3[7],(15&t3[1])<<4|(240&t3[2])>>4,(15&t3[2])<<4|(240&t3[3])>>4,16|(240&t3[0])>>4,(15&t3[0])<<4|(240&t3[1])>>4,t3[8],t3[9],t3[10],t3[11],t3[12],t3[13],t3[14],t3[15]));return typeof e3=="string"?(0,o.unsafeStringify)(n3):n3};var r2,i=(r2=n2(4738))&&r2.__esModule?r2:{default:r2},o=n2(9372)},1014:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0;var r2,i=(r2=n2(2432))&&r2.__esModule?r2:{default:r2},o=n2(9372),a=null,s=null,u=0;t2.default=function(e3,t3,n3){e3=e3||{};var r3=t3&&n3||0,c=t3||new Uint8Array(16),l=e3.random||(e3.rng||i.default)(),f=e3.msecs!==void 0?e3.msecs:Date.now(),p=e3.seq!==void 0?e3.seq:null,d=s,h=a;return f>u&&e3.msecs===void 0&&(u=f,p!==null&&(d=null,h=null)),p!==null&&(p>2147483647&&(p=2147483647),d=p>>>19&4095,h=524287&p),d!==null&&h!==null||(d=(d=127&l[6])<<8|l[7],h=(h=(h=63&l[8])<<8|l[9])<<5|l[10]>>>3),f+1e4>u&&p===null?++h>524287&&(h=0,++d>4095&&(d=0,u++)):u=f,s=d,a=h,c[r3++]=u/1099511627776&255,c[r3++]=u/4294967296&255,c[r3++]=u/16777216&255,c[r3++]=u/65536&255,c[r3++]=u/256&255,c[r3++]=255&u,c[r3++]=d>>>4&15|112,c[r3++]=255&d,c[r3++]=h>>>13&63|128,c[r3++]=h>>>5&255,c[r3++]=h<<3&255|7&l[10],c[r3++]=l[11],c[r3++]=l[12],c[r3++]=l[13],c[r3++]=l[14],c[r3++]=l[15],t3||(0,o.unsafeStringify)(c)}},2303:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0;var r2,i=(r2=n2(1290))&&r2.__esModule?r2:{default:r2};t2.default=function(e3){return typeof e3=="string"&&i.default.test(e3)}},6437:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=void 0;var r2,i=(r2=n2(2303))&&r2.__esModule?r2:{default:r2};t2.default=function(e3){if(!(0,i.default)(e3))throw TypeError("Invalid UUID");return parseInt(e3.slice(14,15),16)}},7311:e2=>{"use strict";e2.exports=function(e3){e3.prototype[Symbol.iterator]=function*(){for(let e4=this.head;e4;e4=e4.next)yield e4.value}}},8155:(e2,t2,n2)=>{"use strict";function r2(e3){var t3=this;if(t3 instanceof r2||(t3=new r2),t3.tail=null,t3.head=null,t3.length=0,e3&&typeof e3.forEach=="function")e3.forEach(function(e4){t3.push(e4)});else if(arguments.length>0)for(var n3=0,i2=arguments.length;n3<i2;n3++)t3.push(arguments[n3]);return t3}function i(e3,t3,n3){var r3=t3===e3.head?new s(n3,null,t3,e3):new s(n3,t3,t3.next,e3);return r3.next===null&&(e3.tail=r3),r3.prev===null&&(e3.head=r3),e3.length++,r3}function o(e3,t3){e3.tail=new s(t3,e3.tail,null,e3),e3.head||(e3.head=e3.tail),e3.length++}function a(e3,t3){e3.head=new s(t3,null,e3.head,e3),e3.tail||(e3.tail=e3.head),e3.length++}function s(e3,t3,n3,r3){if(!(this instanceof s))return new s(e3,t3,n3,r3);this.list=r3,this.value=e3,t3?(t3.next=this,this.prev=t3):this.prev=null,n3?(n3.prev=this,this.next=n3):this.next=null}e2.exports=r2,r2.Node=s,r2.create=r2,r2.prototype.removeNode=function(e3){if(e3.list!==this)throw new Error("removing node which does not belong to this list");var t3=e3.next,n3=e3.prev;return t3&&(t3.prev=n3),n3&&(n3.next=t3),e3===this.head&&(this.head=t3),e3===this.tail&&(this.tail=n3),e3.list.length--,e3.next=null,e3.prev=null,e3.list=null,t3},r2.prototype.unshiftNode=function(e3){if(e3!==this.head){e3.list&&e3.list.removeNode(e3);var t3=this.head;e3.list=this,e3.next=t3,t3&&(t3.prev=e3),this.head=e3,this.tail||(this.tail=e3),this.length++}},r2.prototype.pushNode=function(e3){if(e3!==this.tail){e3.list&&e3.list.removeNode(e3);var t3=this.tail;e3.list=this,e3.prev=t3,t3&&(t3.next=e3),this.tail=e3,this.head||(this.head=e3),this.length++}},r2.prototype.push=function(){for(var e3=0,t3=arguments.length;e3<t3;e3++)o(this,arguments[e3]);return this.length},r2.prototype.unshift=function(){for(var e3=0,t3=arguments.length;e3<t3;e3++)a(this,arguments[e3]);return this.length},r2.prototype.pop=function(){if(this.tail){var e3=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e3}},r2.prototype.shift=function(){if(this.head){var e3=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e3}},r2.prototype.forEach=function(e3,t3){t3=t3||this;for(var n3=this.head,r3=0;n3!==null;r3++)e3.call(t3,n3.value,r3,this),n3=n3.next},r2.prototype.forEachReverse=function(e3,t3){t3=t3||this;for(var n3=this.tail,r3=this.length-1;n3!==null;r3--)e3.call(t3,n3.value,r3,this),n3=n3.prev},r2.prototype.get=function(e3){for(var t3=0,n3=this.head;n3!==null&&t3<e3;t3++)n3=n3.next;if(t3===e3&&n3!==null)return n3.value},r2.prototype.getReverse=function(e3){for(var t3=0,n3=this.tail;n3!==null&&t3<e3;t3++)n3=n3.prev;if(t3===e3&&n3!==null)return n3.value},r2.prototype.map=function(e3,t3){t3=t3||this;for(var n3=new r2,i2=this.head;i2!==null;)n3.push(e3.call(t3,i2.value,this)),i2=i2.next;return n3},r2.prototype.mapReverse=function(e3,t3){t3=t3||this;for(var n3=new r2,i2=this.tail;i2!==null;)n3.push(e3.call(t3,i2.value,this)),i2=i2.prev;return n3},r2.prototype.reduce=function(e3,t3){var n3,r3=this.head;if(arguments.length>1)n3=t3;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r3=this.head.next,n3=this.head.value}for(var i2=0;r3!==null;i2++)n3=e3(n3,r3.value,i2),r3=r3.next;return n3},r2.prototype.reduceReverse=function(e3,t3){var n3,r3=this.tail;if(arguments.length>1)n3=t3;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r3=this.tail.prev,n3=this.tail.value}for(var i2=this.length-1;r3!==null;i2--)n3=e3(n3,r3.value,i2),r3=r3.prev;return n3},r2.prototype.toArray=function(){for(var e3=new Array(this.length),t3=0,n3=this.head;n3!==null;t3++)e3[t3]=n3.value,n3=n3.next;return e3},r2.prototype.toArrayReverse=function(){for(var e3=new Array(this.length),t3=0,n3=this.tail;n3!==null;t3++)e3[t3]=n3.value,n3=n3.prev;return e3},r2.prototype.slice=function(e3,t3){(t3=t3||this.length)<0&&(t3+=this.length),(e3=e3||0)<0&&(e3+=this.length);var n3=new r2;if(t3<e3||t3<0)return n3;e3<0&&(e3=0),t3>this.length&&(t3=this.length);for(var i2=0,o2=this.head;o2!==null&&i2<e3;i2++)o2=o2.next;for(;o2!==null&&i2<t3;i2++,o2=o2.next)n3.push(o2.value);return n3},r2.prototype.sliceReverse=function(e3,t3){(t3=t3||this.length)<0&&(t3+=this.length),(e3=e3||0)<0&&(e3+=this.length);var n3=new r2;if(t3<e3||t3<0)return n3;e3<0&&(e3=0),t3>this.length&&(t3=this.length);for(var i2=this.length,o2=this.tail;o2!==null&&i2>t3;i2--)o2=o2.prev;for(;o2!==null&&i2>e3;i2--,o2=o2.prev)n3.push(o2.value);return n3},r2.prototype.splice=function(e3,t3,...n3){e3>this.length&&(e3=this.length-1),e3<0&&(e3=this.length+e3);for(var r3=0,o2=this.head;o2!==null&&r3<e3;r3++)o2=o2.next;var a2=[];for(r3=0;o2&&r3<t3;r3++)a2.push(o2.value),o2=this.removeNode(o2);for(o2===null&&(o2=this.tail),o2!==this.head&&o2!==this.tail&&(o2=o2.prev),r3=0;r3<n3.length;r3++)o2=i(this,o2,n3[r3]);return a2},r2.prototype.reverse=function(){for(var e3=this.head,t3=this.tail,n3=e3;n3!==null;n3=n3.prev){var r3=n3.prev;n3.prev=n3.next,n3.next=r3}return this.head=t3,this.tail=e3,this};try{n2(7311)(r2)}catch{}},7463:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(1684);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=t2.CommandBarAspect=void 0;const i=t2.CommandBarAspect=r2().Aspect.create({id:"teambit.explorer/command-bar",dependencies:[],defaultConfig:{}});t2.default=i},497:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(9887);return r2=function(){return e3},e3}function i(){const e3=n2(8410);return i=function(){return e3},e3}function o(){const e3=n2(5026);return o=function(){return e3},e3}function a(){const e3=n2(7463);return a=function(){return e3},e3}function s(){const e3=n2(6707);return s=function(){return e3},e3}function u(e3,t3,n3){return(t3=function(e4){var t4=function(e5){if(typeof e5!="object"||!e5)return e5;var t5=e5[Symbol.toPrimitive];if(t5!==void 0){var n4=t5.call(e5,"string");if(typeof n4!="object")return n4;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e5)}(e4);return typeof t4=="symbol"?t4:t4+""}(t3))in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}class c{constructor(e3){this.pubSub=e3,u(this,"handleKeyEvent",e4=>{const{target:t3}=e4;var n3;!t3||(n3=t3,l.includes(n3.tagName)||n3.isContentEditable)||(function(e5){return(0,o().isOpenCommandBarKeybinding)(e5)}(e4)&&e4.preventDefault(),this.pubSub.pub(a().CommandBarAspect.id,new(s()).KeyEvent(e4)))}),document.addEventListener("keydown",this.handleKeyEvent),document.addEventListener("keypress",this.handleKeyEvent),document.addEventListener("keyup",this.handleKeyEvent)}static async provider([e3]){return new c(e3)}}u(c,"dependencies",[i().PubsubAspect]),u(c,"runtime",r2().PreviewRuntime);const l=["INPUT","SELECT","TEXTAREA"];a().CommandBarAspect.addRuntime(c)},5026:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.openCommandBarKeybinding=t2.isOpenCommandBarKeybinding=void 0,t2.openCommandBarKeybinding="mod+k",t2.isOpenCommandBarKeybinding=e3=>(e3.ctrlKey||e3.metaKey)&&e3.key==="k"},6707:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(6869);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),Object.defineProperty(t2,"KeyEvent",{enumerable:!0,get:function(){return r2().KeyEvent}})},6869:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(8410);return r2=function(){return e3},e3}function i(){const e3=n2(8246);return i=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.KeyEvent=void 0;class o extends r2().BitBaseEvent{constructor(e3,t3=Date.now()){const n3=(0,i().serializeKeyboardEvent)(e3);super(e3.type,"0.0.1",t3,n3)}}t2.KeyEvent=o},8246:(e2,t2,n2)=>{"use strict";function r2(){const e3=(t3=n2(8539))&&t3.__esModule?t3:{default:t3};var t3;return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.serializeKeyboardEvent=function(e3){const t3={};for(const n3 in e3){const i=e3[n3];(0,r2().default)(i)&&(t3[n3]=i)}return t3}},3453:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(1684);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=t2.CompositionsAspect=void 0;const i=t2.CompositionsAspect=r2().Aspect.create({id:"teambit.compositions/compositions",dependencies:[],defaultConfig:{}});t2.default=i},6195:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(9887);return r2=function(){return e3},e3}function i(){const e3=(t3=n2(994))&&t3.__esModule?t3:{default:t3};var t3;return i=function(){return e3},e3}function o(){const e3=n2(3453);return o=function(){return e3},e3}function a(e3,t3,n3){return(t3=function(e4){var t4=function(e5){if(typeof e5!="object"||!e5)return e5;var t5=e5[Symbol.toPrimitive];if(t5!==void 0){var n4=t5.call(e5,"string");if(typeof n4!="object")return n4;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e5)}(e4);return typeof t4=="symbol"?t4:t4+""}(t3))in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}class s{constructor(e3){this.preview=e3}render(e3,t3,n3,r3,i2){if(!n3.componentMap[e3.fullName])return;const o2=this.selectPreviewModel(e3.fullName,n3),a2=this.getMetadata(e3.fullName,n3),s2=this.getActiveComposition(o2,a2);let u=(n3.modulesMap[t3]||n3.modulesMap.default).default;typeof u!="function"&&u.default&&(u=u.default),u(s2,i2)}selectPreviewModel(e3,t3){const n3=t3.componentMap[e3]||[];return Object.assign({},...n3)}getMetadata(e3,t3){const n3=t3?.componentMapMetadata?t3.componentMapMetadata[e3]:void 0;if(n3)return n3}getActiveComposition(e3,t3){const n3=window.location.hash.split("&")[1],r3=this.preview.getQuery(),o2=this.preview.getParam(r3,"name")||n3;if(o2&&e3[o2])return e3[o2];if(t3&&t3.compositions){const n4=(0,i().default)(t3.compositions),r4=n4?.identifier;if(r4&&e3[r4])return e3[r4]}return(0,i().default)(Object.values(e3))}static async provider([e3]){const t3=new s(e3);return e3.registerPreview({name:"compositions",render:t3.render.bind(t3),selectPreviewModel:t3.selectPreviewModel.bind(t3),default:!0}),t3}}a(s,"runtime",r2().PreviewRuntime),a(s,"dependencies",[r2().PreviewAspect]),o().CompositionsAspect.addRuntime(s)},2021:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(1684);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=t2.DocsAspect=void 0;const i=t2.DocsAspect=r2().Aspect.create({id:"teambit.docs/docs",dependencies:[],defaultConfig:{}});t2.default=i},5995:(e2,t2,n2)=>{"use strict";function r2(){const e3=(t3=n2(2015))&&t3.__esModule?t3:{default:t3};var t3;return r2=function(){return e3},e3}function i(){const e3=n2(9887);return i=function(){return e3},e3}function o(){const e3=n2(2021);return o=function(){return e3},e3}function a(e3,t3,n3){return(t3=function(e4){var t4=function(e5){if(typeof e5!="object"||!e5)return e5;var t5=e5[Symbol.toPrimitive];if(t5!==void 0){var n4=t5.call(e5,"string");if(typeof n4!="object")return n4;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e5)}(e4);return typeof t4=="symbol"?t4:t4+""}(t3))in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}class s{constructor(e3){this.preview=e3,a(this,"render",(e4,t3,n3,[r3],i2)=>{const o2=this.selectPreviewModel(e4.fullName,n3),a2=r3||[];let s2=(n3.modulesMap[t3]||n3.modulesMap.default).default;typeof s2!="function"&&s2.default&&(s2=s2.default),s2.apiObject?s2({Provider:u,componentId:e4.toString(),docs:o2,compositions:a2,context:i2}):s2(u,e4.toString(),o2,a2,i2)})}selectPreviewModel(e3,t3){const n3=t3.componentMap[e3];if(n3)return n3[0]}static async provider([e3]){const t3=new s(e3);return e3.registerPreview({name:"overview",render:t3.render.bind(t3),selectPreviewModel:t3.selectPreviewModel.bind(t3),include:["compositions"]}),t3}}function u({children:e3}){return r2().default.createElement(r2().default.Fragment,null,e3)}a(s,"runtime",i().PreviewRuntime),a(s,"dependencies",[i().PreviewAspect]),o().DocsAspect.addRuntime(s)},8925:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(8410);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.ClickInsideAnIframeEvent=void 0;class i{constructor(e3){this.clickEvent=e3}}class o extends r2().BitBaseEvent{constructor(e3=Date.now(),t3){super(o.TYPE,"0.0.1",e3,new i(t3)),this.timestamp=e3,this.clickEvent=t3}}var a,s,u;t2.ClickInsideAnIframeEvent=o,a=o,u="click-inside-an-iframe",(s=function(e3){var t3=function(e4){if(typeof e4!="object"||!e4)return e4;var t4=e4[Symbol.toPrimitive];if(t4!==void 0){var n3=t4.call(e4,"string");if(typeof n3!="object")return n3;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e4)}(e3);return typeof t3=="symbol"?t3:t3+""}(s="TYPE"))in a?Object.defineProperty(a,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[s]=u},2709:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});var r2=n2(8925);Object.keys(r2).forEach(function(e3){e3!=="default"&&e3!=="__esModule"&&(e3 in t2&&t2[e3]===r2[e3]||Object.defineProperty(t2,e3,{enumerable:!0,get:function(){return r2[e3]}}))})},5804:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.BundlingStrategyNotFound=void 0;class n2 extends Error{constructor(e3){super(`bundling strategy with name ${e3} was not found`),this.strategyName=e3}}t2.BundlingStrategyNotFound=n2},7414:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(4419);return r2=function(){return e3},e3}function i(){const e3=n2(3584);return i=function(){return e3},e3}function o(){const e3=n2(5804);return o=function(){return e3},e3}function a(){const e3=n2(828);return a=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),Object.defineProperty(t2,"BundlingStrategyNotFound",{enumerable:!0,get:function(){return o().BundlingStrategyNotFound}}),Object.defineProperty(t2,"PreviewArtifactNotFound",{enumerable:!0,get:function(){return i().PreviewArtifactNotFound}}),Object.defineProperty(t2,"PreviewNotFound",{enumerable:!0,get:function(){return r2().PreviewNotFound}}),Object.defineProperty(t2,"PreviewOutputFileNotFound",{enumerable:!0,get:function(){return a().PreviewOutputFileNotFound}})},3584:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(4490);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.PreviewArtifactNotFound=void 0;class i extends r2().BitError{constructor(e3){super(`preview for component ${e3.toString()} was not found`)}}t2.PreviewArtifactNotFound=i},4419:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.PreviewNotFound=void 0;class n2 extends Error{constructor(e3){super(`Preview for name: ${e3} was not found`)}}t2.PreviewNotFound=n2},828:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(4490);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.PreviewOutputFileNotFound=void 0;class i extends r2().BitError{constructor(e3,t3){super(`preview output file for component: "${e3.toString()}" was not found in the path: "${t3}".
|
34
|
-
|
35
|
-
This is usually a result of an error during the bundling process.
|
36
|
-
The error might be an error of another component that uses the same env.
|
37
|
-
Run "bit build" with "--dev" to see more info.
|
38
|
-
Run "bit envs" to see other components that uses the same env`)}}t2.PreviewOutputFileNotFound=i},9442:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(6313);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.fetchComponentAspects=async function(e3){try{return(await(0,r2().request)(i,o,{id:e3.toString()})).getHost.get.aspects.map(e4=>e4.id)}catch(e4){return void console.error(`[gql] error on "getComponentAspects" - "${e4.toString()}"`)}};const i="/graphql",o=r2().gql`
|
39
|
-
query getComponentAspects($id: String!) {
|
40
|
-
getHost {
|
41
|
-
id
|
42
|
-
get(id: $id) {
|
43
|
-
aspects {
|
44
|
-
id
|
45
|
-
}
|
46
|
-
}
|
47
|
-
}
|
48
|
-
}
|
49
|
-
`},7154:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.loadLink=function({href:e3}){return new Promise((t3,n2)=>{const r2=document.createElement("link");e3.endsWith(".css")&&r2.setAttribute("rel","stylesheet"),r2.setAttribute("href",e3),r2.onload=()=>t3(),r2.onerror=(e4,t4,r3,i,o)=>n2(o||new Error(`[preview.preview] failed to load link: ${e4}`)),document.head.appendChild(r2)})},t2.loadScript=function({src:e3}){return new Promise((t3,n2)=>{const r2=document.createElement("script");r2.setAttribute("defer","defer"),r2.src=e3,r2.onload=()=>t3(),r2.onerror=(e4,t4,r3,i,o)=>n2(o||new Error(`[preview.preview] failed to load script: ${e4}`)),document.head.appendChild(r2)})}},9887:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0});var r2={PreviewAspect:!0,PreviewRuntime:!0,ENV_PREVIEW_STRATEGY_NAME:!0,COMPONENT_PREVIEW_STRATEGY_NAME:!0};function i(){const e3=n2(3389);return i=function(){return e3},e3}Object.defineProperty(t2,"COMPONENT_PREVIEW_STRATEGY_NAME",{enumerable:!0,get:function(){return a().COMPONENT_PREVIEW_STRATEGY_NAME}}),Object.defineProperty(t2,"ENV_PREVIEW_STRATEGY_NAME",{enumerable:!0,get:function(){return a().ENV_PREVIEW_STRATEGY_NAME}}),Object.defineProperty(t2,"PreviewAspect",{enumerable:!0,get:function(){return i().PreviewAspect}}),Object.defineProperty(t2,"PreviewRuntime",{enumerable:!0,get:function(){return i().PreviewRuntime}}),Object.defineProperty(t2,"default",{enumerable:!0,get:function(){return i().PreviewAspect}});var o=n2(2709);function a(){const e3=n2(9285);return a=function(){return e3},e3}Object.keys(o).forEach(function(e3){e3!=="default"&&e3!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r2,e3)||e3 in t2&&t2[e3]===o[e3]||Object.defineProperty(t2,e3,{enumerable:!0,get:function(){return o[e3]}}))})},9663:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(6300);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),Object.defineProperty(t2,"PREVIEW_MODULES",{enumerable:!0,get:function(){return r2().PREVIEW_MODULES}}),Object.defineProperty(t2,"PreviewModules",{enumerable:!0,get:function(){return r2().PreviewModules}}),Object.defineProperty(t2,"linkModules",{enumerable:!0,get:function(){return r2().linkModules}})},3389:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(1684);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=t2.PreviewRuntime=t2.PreviewAspect=void 0;const i=t2.PreviewRuntime=new(r2()).RuntimeDefinition("preview"),o=t2.PreviewAspect=r2().Aspect.create({id:"teambit.preview/preview",dependencies:[],defaultConfig:{},declareRuntime:i});t2.default=o},755:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(8410);return r2=function(){return e3},e3}function i(){const e3=n2(1684);return i=function(){return e3},e3}function o(){const e3=n2(1001);return o=function(){return e3},e3}function a(){const e3=y(n2(2607));return a=function(){return e3},e3}function s(){const e3=y(n2(1695));return s=function(){return e3},e3}function u(){const e3=n2(2935);return u=function(){return e3},e3}function c(){const e3=n2(7414);return c=function(){return e3},e3}function l(){const e3=n2(3389);return l=function(){return e3},e3}function f(){const e3=n2(2709);return f=function(){return e3},e3}function p(){const e3=n2(2269);return p=function(){return e3},e3}function d(){const e3=n2(9442);return d=function(){return e3},e3}function h(){const e3=n2(9663);return h=function(){return e3},e3}function v(){const e3=n2(7154);return v=function(){return e3},e3}function m(){const e3=n2(6575);return m=function(){return e3},e3}function y(e3){return e3&&e3.__esModule?e3:{default:e3}}function g(e3,t3,n3){return(t3=function(e4){var t4=function(e5){if(typeof e5!="object"||!e5)return e5;var t5=e5[Symbol.toPrimitive];if(t5!==void 0){var n4=t5.call(e5,"string");if(typeof n4!="object")return n4;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e5)}(e4);return typeof t4=="symbol"?t4:t4+""}(t3))in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}class b{constructor(e3,t3,n3){this.pubsub=e3,this.previewSlot=t3,this.renderingContextSlot=n3,g(this,"isDev",!1),g(this,"_setupPromise",void 0),g(this,"setup",()=>this.isReady()?Promise.resolve():(this._setupPromise??=new Promise(e4=>{h().PREVIEW_MODULES.onSet.add(()=>{this.isReady()&&e4()})}),this._setupPromise)),g(this,"render",async e4=>{window.document.body.style.width="fit-content";const{previewName:t4,componentId:n4,envId:r3}=this.getLocation(),i2=t4||this.getDefault();e4&&(this.isDev=e4==="teambit.workspace/workspace");const o2=this.getPreview(i2);if(!o2||!n4)throw new(c()).PreviewNotFound(t4);const a2=await Promise.all((o2.include||[]).map(async e5=>{const t5=this.getPreview(e5);if(!t5)return;const r4=await this.getPreviewModule(e5,n4);return t5.selectPreviewModel?.(n4.fullName,r4)})),s2=this.getQuery(),l2=this.getParam(s2,"onlyOverview")==="true"?[]:a2.filter(e5=>!!e5).map(e5=>{if(!e5.default||!(0,u().isObject)(e5.default))return e5;const t5=Object.keys(e5).filter(e6=>e6!=="default"),n5=Object.keys(e5.default);return(0,u().intersection)(t5,n5).length===n5.length?e5.default:e5}),f2=this.isDev?await this.getComponentAspects(n4.toString()):void 0,p2=await this.getPreviewModule(i2,n4),d2=o2.render(n4,r3||"",p2,l2,this.getRenderingContext(f2));return this.reportSize(),this.setViewport(),this.setFullScreen(),d2}),g(this,"getComponentAspects",(0,s().default)(d().fetchComponentAspects,{max:100,maxAge:432e5})),this.registerClickPubSub()}registerClickPubSub(){window.addEventListener("click",e3=>{const t3=Date.now(),n3=Object.assign({},e3);this.pubsub.pub(l().PreviewAspect.id,new(f()).ClickInsideAnIframeEvent(t3,n3))})}isReady(){const{previewName:e3}=this.getLocation(),t3=e3||this.getDefault();if(!h().PREVIEW_MODULES.has(t3))return!1;const n3=this.getPreview(t3);return!!n3&&!!(n3.include?.every(e4=>h().PREVIEW_MODULES.has(e4))??1)}setFullScreen(){const e3=this.getQuery();if(!this.getParam(e3,"fullscreen"))return;const t3=window.document.getElementById("root");t3&&(t3.style.height="100vh")}setViewport(){const e3=this.getQuery(),t3=this.getParam(e3,"viewport");t3?window.document.body.style.maxWidth=`${t3}px`:window.document.body.style.width="100%"}reportSize(){if(!window?.parent||!window?.document)return;window.document.body.addEventListener("resize",(0,u().debounce)(()=>{this.pubsub.pub(l().PreviewAspect.id,new(m()).SizeEvent({width:window.document.body.offsetWidth,height:window.document.body.offsetHeight}))},300));let e3=0;const t3=setInterval(()=>{e3+=1,e3>10?clearInterval(t3):this.pubsub.pub(l().PreviewAspect.id,new(m()).SizeEvent({width:window.document.body.offsetWidth,height:window.document.body.offsetHeight}))},200)}async getPreviewModule(e3,t3){const n3=t3.fullName,r3=h().PREVIEW_MODULES.get(e3);if(!r3)throw new Error(`[preview.preview] missing preview "${e3}"`);if(r3.componentMap[n3])return r3;const i2=await this.fetchComponentPreview(t3,e3);h().PREVIEW_MODULES.loadComponentPreviews(n3,i2);const o2=i2[e3],a2=i2[`${e3}_metadata`];return{modulesMap:r3.modulesMap,componentMap:{[t3.fullName]:o2},componentMapMetadata:{[t3.fullName]:a2}}}async fetchComponentPreview(e3,t3){let n3;const r3=await this.fetchComponentPreviewFiles(e3,t3);return r3===null?{}:(await Promise.all(r3.map(t4=>{if(!t4.endsWith("-preview.js"))return this.addComponentFileElement(e3,t4);n3=t4})),n3?this.loadPreviewScript(e3,t3,n3):{})}addComponentFileElement(e3,t3){if(t3.endsWith(".js"))return this.addComponentFileScriptElement(e3,t3);this.addComponentFileLinkElement(e3,t3).catch(e4=>{throw new Error(`[preview.preview] failed loading asset "${t3}". Error - "${e4?.toString()}"`)})}async fetchComponentPreviewFiles(e3,t3){const n3=`/api/${e3.toString()}/~aspect/preview-assets`,r3=await(0,a().default)(n3);if(r3.status>=400)throw new(c()).PreviewNotFound(t3);const i2=await r3.json();if(i2.isBundledWithEnv)return null;if(!i2.files||!i2.files.length)throw new(c()).PreviewNotFound(t3);return i2.files}addComponentFileScriptElement(e3,t3){const n3=`/api/${e3.toString()}/~aspect/component-preview/${t3}`;return(0,v().loadScript)({src:n3})}addComponentFileLinkElement(e3,t3){const n3=`/api/${e3.toString()}/~aspect/component-preview/${t3}`;return(0,v().loadLink)({href:n3})}async loadPreviewScript(e3,t3,n3){const r3=`/api/${e3.toString()}/~aspect/component-preview/${n3}`;await(0,v().loadScript)({src:r3});const i2=`${e3.toStringWithoutVersion()}-preview`,o2=window[i2];if(!o2)throw new(c()).PreviewNotFound(t3);return o2}registerPreview(e3){return this.previewSlot.register(e3),this}getRenderingContext(e3){return new(p()).RenderingContext(this.renderingContextSlot,{aspectsFilter:e3})}registerRenderContext(e3){return this.renderingContextSlot.register(e3),this}getDefault(){const e3=this.previewSlot.values();return e3.find(e4=>e4.default)?.name||e3[0].name}getPreview(e3){return this.previewSlot.values().find(t3=>t3.name===e3)}getParam(e3,t3){return new URLSearchParams(e3).get(t3)}getQuery(){const e3=window.location.hash.substring(1),[,t3]=e3.split("?");return t3}getLocation(){const e3=window.location.hash.substring(1),[t3,n3]=e3.split("?");return{previewName:this.getParam(n3,"preview"),envId:this.getParam(n3,"env"),componentId:o().ComponentID.tryFromString(t3)}}static async provider([e3],t3,[n3,r3]){const i2=new b(e3,n3,r3);return window.addEventListener("hashchange",()=>{i2.render()}),i2}}g(b,"runtime",l().PreviewRuntime),g(b,"dependencies",[r2().PubsubAspect]),g(b,"slots",[i().Slot.withType(),i().Slot.withType()]),l().PreviewAspect.addRuntime(b)},2269:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.RenderingContext=void 0,t2.RenderingContext=class{constructor(e3,t3={}){this.contexts=e3,this.options=t3}get(e3){return this.contexts.get(e3)?.(this.options)}}},6575:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(8410);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.SizeEvent=void 0;class i extends r2().BitBaseEvent{constructor(e3){super(i.TYPE,"0.0.1",new Date().getTime(),e3)}}var o,a,s;t2.SizeEvent=i,o=i,s="preview-size",(a=function(e3){var t3=function(e4){if(typeof e4!="object"||!e4)return e4;var t4=e4[Symbol.toPrimitive];if(t4!==void 0){var n3=t4.call(e4,"string");if(typeof n3!="object")return n3;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e4)}(e3);return typeof t3=="symbol"?t3:t3+""}(a="TYPE"))in o?Object.defineProperty(o,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):o[a]=s},9285:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ENV_PREVIEW_STRATEGY_NAME=t2.COMPONENT_PREVIEW_STRATEGY_NAME=void 0,t2.ENV_PREVIEW_STRATEGY_NAME="env",t2.COMPONENT_PREVIEW_STRATEGY_NAME="component"},8434:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.BitBaseEvent=void 0,t2.BitBaseEvent=class{constructor(e3,t3,n2,r2){this.type=e3,this.version=t3,this.timestamp=n2,this.data=r2}}},8410:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(6525);return r2=function(){return e3},e3}function i(){const e3=n2(8434);return i=function(){return e3},e3}function o(){const e3=n2(9665);return o=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),Object.defineProperty(t2,"BitBaseEvent",{enumerable:!0,get:function(){return i().BitBaseEvent}}),Object.defineProperty(t2,"PubsubAspect",{enumerable:!0,get:function(){return r2().PubsubAspect}}),Object.defineProperty(t2,"default",{enumerable:!0,get:function(){return r2().PubsubAspect}}),Object.defineProperty(t2,"usePubSub",{enumerable:!0,get:function(){return o().usePubSub}}),Object.defineProperty(t2,"usePubSubIframe",{enumerable:!0,get:function(){return o().usePubSubIframe}})},7559:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.PubSubNoParentError=void 0;class n2 extends Error{constructor(){super("could not connect to parent window"),this.name="PubSubNoParentError"}}t2.PubSubNoParentError=n2},9665:(e2,t2,n2)=>{"use strict";function r2(){const e3=function(e4,t3){if(e4&&e4.__esModule)return e4;if(e4===null||typeof e4!="object"&&typeof e4!="function")return{default:e4};var n3=i(t3);if(n3&&n3.has(e4))return n3.get(e4);var r3={__proto__:null},o2=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a2 in e4)if(a2!=="default"&&{}.hasOwnProperty.call(e4,a2)){var s=o2?Object.getOwnPropertyDescriptor(e4,a2):null;s&&(s.get||s.set)?Object.defineProperty(r3,a2,s):r3[a2]=e4[a2]}return r3.default=e4,n3&&n3.set(e4,r3),r3}(n2(2015));return r2=function(){return e3},e3}function i(e3){if(typeof WeakMap!="function")return null;var t3=new WeakMap,n3=new WeakMap;return(i=function(e4){return e4?n3:t3})(e3)}Object.defineProperty(t2,"__esModule",{value:!0}),t2.createProvider=function(e3){return({children:t3})=>r2().default.createElement(o.Provider,{value:e3},t3)},t2.pubsubRegistry=void 0,t2.usePubSub=a,t2.usePubSubIframe=function(e3){const t3=a();(0,r2().useEffect)(()=>{if(!e3?.current||!t3)return()=>{};const n3=t3.connect(e3.current);return()=>n3()},[e3?.current,t3])};const o=t2.pubsubRegistry=(0,r2().createContext)(void 0);function a(){return(0,r2().useContext)(o)}},6525:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(1684);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=t2.PubsubAspect=void 0;const i=t2.PubsubAspect=r2().Aspect.create({id:"teambit.harmony/pubsub",dependencies:[]});t2.default=i},9283:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(9887);return r2=function(){return e3},e3}function i(){const e3=n2(5867);return i=function(){return e3},e3}function o(){const e3=n2(7551);return o=function(){return e3},e3}function a(){const e3=n2(8926);return a=function(){return e3},e3}function s(){const e3=n2(7559);return s=function(){return e3},e3}function u(){const e3=n2(6525);return u=function(){return e3},e3}function c(e3,t3,n3){return(t3=function(e4){var t4=function(e5){if(typeof e5!="object"||!e5)return e5;var t5=e5[Symbol.toPrimitive];if(t5!==void 0){var n4=t5.call(e5,"string");if(typeof n4!="object")return n4;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e5)}(e4);return typeof t4=="symbol"?t4:t4+""}(t3))in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}class l{constructor(){c(this,"_parentPubsub",void 0),c(this,"events",new(o()).EventEmitter2),c(this,"connectToParentPubSub",(e3=10)=>{if(e3<=0)throw new(s()).PubSubNoParentError;return(0,a().connectToParent)({timeout:300,methods:{pub:this.handleMessageFromParent}}).promise.then(e4=>this._parentPubsub=e4).catch(t3=>{if(t3.code!==a().ErrorCode.ConnectionTimeout)throw t3;return this.connectToParentPubSub(e3-1)})}),c(this,"handleMessageFromParent",(e3,t3)=>{this.events.emit(e3,t3)})}sub(e3,t3){const n3=this.events;return n3.on(e3,t3),()=>{n3.off(e3,t3)}}pub(e3,t3){this.events.emit(e3,t3),this._parentPubsub?.pub(e3,t3).catch(e4=>{console.error("[Pubsub.preview]",e4)})}inIframe(){try{return i().isBrowser&&window.self!==window.top}catch{return!1}}static async provider(){const e3=new l;return e3.inIframe()&&e3.connectToParentPubSub().catch(e4=>{e4 instanceof s().PubSubNoParentError||console.error("[Pubsub.preview]",e4)}),e3}}c(l,"runtime",r2().PreviewRuntime),u().PubsubAspect.addRuntime(l)},1110:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3},a=this&&this.__importDefault||function(e3){return e3&&e3.__esModule?e3:{default:e3}};Object.defineProperty(t2,"__esModule",{value:!0}),t2.HighlighterProvider=t2.PARAM_NAME=void 0;const s=o(n2(2015)),u=a(n2(4487)),c=n2(1779),l=a(n2(3268)),f=a(n2(7727));t2.PARAM_NAME="highlighter";const p={container:f.default.label};t2.HighlighterProvider=({children:e3})=>{const n3=function(){const[e4,t3]=(0,s.useState)(window?window.location.hash:"");return(0,s.useEffect)(()=>{const e5=()=>{t3(window.location.hash)};return e5(),window.addEventListener("hashchange",e5),()=>{window.removeEventListener("hashchange",e5)}},[]),e4}(),r3=(0,s.useMemo)(()=>{const e4=n3.split("?")[1];return l.default.parse(e4)[t2.PARAM_NAME]==="true"},[n3]);return s.default.createElement(c.ComponentHighlighter,{disabled:!r3,className:(0,u.default)(f.default.highlighter,r3&&f.default.active),classes:p},e3)}},9493:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.HighlighterProvider=void 0;var r2=n2(1110);Object.defineProperty(t2,"HighlighterProvider",{enumerable:!0,get:function(){return r2.HighlighterProvider}})},7075:(e2,t2,n2)=>{"use strict";function r2(){const e3=n2(1684);return r2=function(){return e3},e3}Object.defineProperty(t2,"__esModule",{value:!0}),t2.default=t2.ReactAspect=void 0;const i=t2.ReactAspect=r2().Aspect.create({id:"teambit.react/react"});t2.default=i},3893:(e2,t2,n2)=>{"use strict";function r2(){const e3=(t3=n2(7065))&&t3.__esModule?t3:{default:t3};var t3;return r2=function(){return e3},e3}function i(){const e3=n2(1684);return i=function(){return e3},e3}function o(){const e3=n2(9887);return o=function(){return e3},e3}function a(){const e3=n2(9493);return a=function(){return e3},e3}function s(){const e3=n2(7075);return s=function(){return e3},e3}function u(e3,t3,n3){return(t3=function(e4){var t4=function(e5){if(typeof e5!="object"||!e5)return e5;var t5=e5[Symbol.toPrimitive];if(t5!==void 0){var n4=t5.call(e5,"string");if(typeof n4!="object")return n4;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e5)}(e4);return typeof t4=="symbol"?t4:t4+""}(t3))in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}class c{constructor(e3,t3){this.preview=e3,this.providerSlot=t3,u(this,"getRenderingContext",({aspectsFilter:e4})=>{let t4=this.providerSlot.toArray();if(e4){const n3=new Set(e4);n3.add(s().ReactAspect.id),t4=t4.filter(([e5])=>n3.has(e5))}return{providers:(0,r2().default)(t4.map(([,e5])=>e5))}})}registerProvider(e3){this.providerSlot.register(e3)}static async provider([e3],t3,[n3]){const r3=new c(e3,n3);return r3.registerProvider([a().HighlighterProvider]),e3.registerRenderContext(r3.getRenderingContext),r3}}u(c,"runtime",o().PreviewRuntime),u(c,"slots",[i().Slot.withType()]),u(c,"dependencies",[o().PreviewAspect]),s().ReactAspect.addRuntime(c)},2015:e2=>{"use strict";e2.exports=__webpack_require__(37953)},2326:e2=>{"use strict";e2.exports=__webpack_require__(88705)},7500:(e2,t2)=>{var n2;(function(){"use strict";var r2={}.hasOwnProperty;function i(){for(var e3="",t3=0;t3<arguments.length;t3++){var n3=arguments[t3];n3&&(e3=a(e3,o(n3)))}return e3}function o(e3){if(typeof e3=="string"||typeof e3=="number")return e3;if(typeof e3!="object")return"";if(Array.isArray(e3))return i.apply(null,e3);if(e3.toString!==Object.prototype.toString&&!e3.toString.toString().includes("[native code]"))return e3.toString();var t3="";for(var n3 in e3)r2.call(e3,n3)&&e3[n3]&&(t3=a(t3,n3));return t3}function a(e3,t3){return t3?e3?e3+" "+t3:e3+t3:e3}e2.exports?(i.default=i,e2.exports=i):(n2=function(){return i}.apply(t2,[]))===void 0||(e2.exports=n2)})()},3922:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.defaultJsonSerializer=void 0,t2.defaultJsonSerializer=JSON},4927:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.GraphQLWebSocketClient=void 0;const r2=n2(6917),i=n2(5928),o="ping",a="pong",s="complete";class u{get type(){return this._type}get id(){return this._id}get payload(){return this._payload}constructor(e3,t3,n3){this._type=e3,this._payload=t3,this._id=n3}get text(){const e3={type:this.type};return this.id!=null&&this.id!=null&&(e3.id=this.id),this.payload!=null&&this.payload!=null&&(e3.payload=this.payload),JSON.stringify(e3)}static parse(e3,t3){const{type:n3,payload:r3,id:i2}=JSON.parse(e3);return new u(n3,t3(r3),i2)}}class c{constructor(e3,{onInit:t3,onAcknowledged:n3,onPing:r3,onPong:c2}){this.socketState={acknowledged:!1,lastRequestId:0,subscriptions:{}},this.socket=e3,e3.addEventListener("open",async n4=>{var r4;this.socketState.acknowledged=!1,this.socketState.subscriptions={},e3.send((r4=t3?await t3():null,new u("connection_init",r4)).text)}),e3.addEventListener("close",e4=>{this.socketState.acknowledged=!1,this.socketState.subscriptions={}}),e3.addEventListener("error",e4=>{console.error(e4)}),e3.addEventListener("message",t4=>{try{const f=function(e4,t5=e5=>e5){return u.parse(e4,t5)}(t4.data);switch(f.type){case"connection_ack":return void(this.socketState.acknowledged?console.warn("Duplicate CONNECTION_ACK message ignored"):(this.socketState.acknowledged=!0,n3&&n3(f.payload)));case o:return void(r3?r3(f.payload).then(t5=>e3.send(l(t5).text)):e3.send(l(null).text));case a:return void(c2&&c2(f.payload))}if(!this.socketState.acknowledged||f.id===void 0||f.id===null||!this.socketState.subscriptions[f.id])return;const{query:p,variables:d,subscriber:h}=this.socketState.subscriptions[f.id];switch(f.type){case"next":return!f.payload.errors&&f.payload.data&&h.next&&h.next(f.payload.data),void(f.payload.errors&&h.error&&h.error(new i.ClientError({...f.payload,status:200},{query:p,variables:d})));case"error":return void(h.error&&h.error(new i.ClientError({errors:f.payload,status:200},{query:p,variables:d})));case s:return h.complete&&h.complete(),void delete this.socketState.subscriptions[f.id]}}catch(t5){console.error(t5),e3.close(1006)}e3.close(4400,"Unknown graphql-ws message.")})}makeSubscribe(e3,t3,n3,r3){const i2=(this.socketState.lastRequestId++).toString();var o2,a2;return this.socketState.subscriptions[i2]={query:e3,variables:r3,subscriber:n3},this.socket.send((o2=i2,a2={query:e3,operationName:t3,variables:r3},new u("subscribe",a2,o2)).text),()=>{this.socket.send(function(e4){return new u(s,void 0,e4)}(i2).text),delete this.socketState.subscriptions[i2]}}rawRequest(e3,t3){return new Promise((n3,r3)=>{let i2;this.rawSubscribe(e3,{next:(e4,t4)=>i2={data:e4,extensions:t4},error:r3,complete:()=>n3(i2)},t3)})}request(e3,t3){return new Promise((n3,r3)=>{let i2;this.subscribe(e3,{next:e4=>i2=e4,error:r3,complete:()=>n3(i2)},t3)})}subscribe(e3,t3,n3){const{query:i2,operationName:o2}=(0,r2.resolveRequestDocument)(e3);return this.makeSubscribe(i2,o2,t3,n3)}rawSubscribe(e3,t3,n3){return this.makeSubscribe(e3,void 0,t3,n3)}ping(e3){this.socket.send(function(e4){return new u(o,e4,void 0)}(e3).text)}close(){this.socket.close(1e3)}}function l(e3){return new u(a,e3,void 0)}c.PROTOCOL="graphql-transport-ws",t2.GraphQLWebSocketClient=c},3028:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.HeadersInstanceToPlainObject=t2.uppercase=void 0,t2.uppercase=e3=>e3.toUpperCase(),t2.HeadersInstanceToPlainObject=e3=>{const t3={};return e3.forEach((e4,n2)=>{t3[n2]=e4}),t3}},6313:function(e2,t2,n2){"use strict";var r2=this&&this.__createBinding||(Object.create?function(e3,t3,n3,r3){r3===void 0&&(r3=n3);var i2=Object.getOwnPropertyDescriptor(t3,n3);i2&&!("get"in i2?!t3.__esModule:i2.writable||i2.configurable)||(i2={enumerable:!0,get:function(){return t3[n3]}}),Object.defineProperty(e3,r3,i2)}:function(e3,t3,n3,r3){r3===void 0&&(r3=n3),e3[r3]=t3[n3]}),i=this&&this.__setModuleDefault||(Object.create?function(e3,t3){Object.defineProperty(e3,"default",{enumerable:!0,value:t3})}:function(e3,t3){e3.default=t3}),o=this&&this.__importStar||function(e3){if(e3&&e3.__esModule)return e3;var t3={};if(e3!=null)for(var n3 in e3)n3!=="default"&&Object.prototype.hasOwnProperty.call(e3,n3)&&r2(t3,e3,n3);return i(t3,e3),t3};Object.defineProperty(t2,"__esModule",{value:!0}),t2.request=t2.rawRequest=t2.GraphQLClient=t2.ClientError=t2.batchRequests=t2.resolveRequestDocument=t2.GraphQLWebSocketClient=t2.gql=void 0;const a=n2(3922),s=n2(3028),u=n2(7491),c=n2(6917),l=n2(5928);Object.defineProperty(t2,"ClientError",{enumerable:!0,get:function(){return l.ClientError}});const f=o(n2(2607)),p=f,d=e3=>{let t3={};return e3&&(typeof Headers<"u"&&e3 instanceof Headers||p&&p.Headers&&e3 instanceof p.Headers?t3=(0,s.HeadersInstanceToPlainObject)(e3):Array.isArray(e3)?e3.forEach(([e4,n3])=>{e4&&n3!==void 0&&(t3[e4]=n3)}):t3=e3),t3},h=e3=>e3.replace(/([\s,]|#[^\n\r]+)+/g," ").trim();class v{constructor(e3,t3={}){this.url=e3,this.requestConfig=t3,this.rawRequest=async(...e4)=>{const[t4,n3,r3]=e4,i2=(0,u.parseRawRequestArgs)(t4,n3,r3),{headers:o2,fetch:a2=f.default,method:s2="POST",requestMiddleware:l2,responseMiddleware:p2,...h2}=this.requestConfig,{url:v2}=this;i2.signal!==void 0&&(h2.signal=i2.signal);const{operationName:y2}=(0,c.resolveRequestDocument)(i2.query);return m({url:v2,query:i2.query,variables:i2.variables,headers:{...d(E(o2)),...d(i2.requestHeaders)},operationName:y2,fetch:a2,method:s2,fetchOptions:h2,middleware:l2}).then(e5=>(p2&&p2(e5),e5)).catch(e5=>{throw p2&&p2(e5),e5})}}async request(e3,...t3){const[n3,r3]=t3,i2=(0,u.parseRequestArgs)(e3,n3,r3),{headers:o2,fetch:a2=f.default,method:s2="POST",requestMiddleware:l2,responseMiddleware:p2,...h2}=this.requestConfig,{url:v2}=this;i2.signal!==void 0&&(h2.signal=i2.signal);const{query:y2,operationName:g2}=(0,c.resolveRequestDocument)(i2.document);return m({url:v2,query:y2,variables:i2.variables,headers:{...d(E(o2)),...d(i2.requestHeaders)},operationName:g2,fetch:a2,method:s2,fetchOptions:h2,middleware:l2}).then(e4=>(p2&&p2(e4),e4.data)).catch(e4=>{throw p2&&p2(e4),e4})}batchRequests(e3,t3){const n3=(0,u.parseBatchRequestArgs)(e3,t3),{headers:r3,...i2}=this.requestConfig;n3.signal!==void 0&&(i2.signal=n3.signal);const o2=n3.documents.map(({document:e4})=>(0,c.resolveRequestDocument)(e4).query),a2=n3.documents.map(({variables:e4})=>e4);return m({url:this.url,query:o2,variables:a2,headers:{...d(E(r3)),...d(n3.requestHeaders)},operationName:void 0,fetch:this.requestConfig.fetch??f.default,method:this.requestConfig.method||"POST",fetchOptions:i2,middleware:this.requestConfig.requestMiddleware}).then(e4=>(this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(e4),e4.data)).catch(e4=>{throw this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(e4),e4})}setHeaders(e3){return this.requestConfig.headers=e3,this}setHeader(e3,t3){const{headers:n3}=this.requestConfig;return n3?n3[e3]=t3:this.requestConfig.headers={[e3]:t3},this}setEndpoint(e3){return this.url=e3,this}}t2.GraphQLClient=v;const m=async e3=>{const{query:t3,variables:n3,fetchOptions:r3}=e3,i2=(d2=(0,s.uppercase)(e3.method??"post"),async e4=>{const{url:t4,query:n4,variables:r4,operationName:i3,fetch:o3,fetchOptions:s2,middleware:u3}=e4,c3={...e4.headers};let l2,f3="";d2==="POST"?(l2=b(n4,r4,i3,s2.jsonSerializer),typeof l2=="string"&&(c3["Content-Type"]="application/json")):f3=(e5=>{if(!Array.isArray(e5.query)){const t6=e5,n6=[`query=${encodeURIComponent(h(t6.query))}`];return e5.variables&&n6.push(`variables=${encodeURIComponent(t6.jsonSerializer.stringify(t6.variables))}`),t6.operationName&&n6.push(`operationName=${encodeURIComponent(t6.operationName)}`),n6.join("&")}if(e5.variables!==void 0&&!Array.isArray(e5.variables))throw new Error("Cannot create query with given variable type, array expected");const t5=e5,n5=e5.query.reduce((e6,n6,r5)=>(e6.push({query:h(n6),variables:t5.variables?t5.jsonSerializer.stringify(t5.variables[r5]):void 0}),e6),[]);return`query=${encodeURIComponent(t5.jsonSerializer.stringify(n5))}`})({query:n4,variables:r4,operationName:i3,jsonSerializer:s2.jsonSerializer??a.defaultJsonSerializer});const p3={method:d2,headers:c3,body:l2,...s2};let v2=t4,m2=p3;if(u3){const e5=await Promise.resolve(u3({...p3,url:t4,operationName:i3,variables:r4})),{url:n5,...o4}=e5;v2=n5,m2=o4}return f3&&(v2=`${v2}?${f3}`),await o3(v2,m2)}),o2=Array.isArray(e3.query),u2=await i2(e3),c2=await _(u2,r3.jsonSerializer??a.defaultJsonSerializer),f2=Array.isArray(c2)?!c2.some(({data:e4})=>!e4):Boolean(c2.data),p2=Array.isArray(c2)||!c2.errors||Array.isArray(c2.errors)&&!c2.errors.length||r3.errorPolicy==="all"||r3.errorPolicy==="ignore";var d2;if(u2.ok&&p2&&f2){const{errors:e4,...t4}=(Array.isArray(c2),c2),n4=r3.errorPolicy==="ignore"?t4:c2;return{...o2?{data:n4}:n4,headers:u2.headers,status:u2.status}}{const e4=typeof c2=="string"?{error:c2}:c2;throw new l.ClientError({...e4,status:u2.status,headers:u2.headers},{query:t3,variables:n3})}};async function y(e3,t3,...n3){const r3=(0,u.parseRequestExtendedArgs)(e3,t3,...n3);return new v(r3.url).request({...r3})}t2.rawRequest=async(...e3)=>{const[t3,n3,...r3]=e3,i2=(0,u.parseRawRequestExtendedArgs)(t3,n3,...r3);return new v(i2.url).rawRequest({...i2})},t2.request=y,t2.batchRequests=async(...e3)=>{const t3=g(e3);return new v(t3.url).batchRequests(t3)};const g=e3=>e3.length===1?e3[0]:{url:e3[0],documents:e3[1],requestHeaders:e3[2],signal:void 0},b=(e3,t3,n3,r3)=>{const i2=r3??a.defaultJsonSerializer;if(!Array.isArray(e3))return i2.stringify({query:e3,variables:t3,operationName:n3});if(t3!==void 0&&!Array.isArray(t3))throw new Error("Cannot create request body with given variable type, array expected");const o2=e3.reduce((e4,n4,r4)=>(e4.push({query:n4,variables:t3?t3[r4]:void 0}),e4),[]);return i2.stringify(o2)},_=async(e3,t3)=>{let n3;return e3.headers.forEach((e4,t4)=>{t4.toLowerCase()==="content-type"&&(n3=e4)}),n3&&(n3.toLowerCase().startsWith("application/json")||n3.toLowerCase().startsWith("application/graphql+json")||n3.toLowerCase().startsWith("application/graphql-response+json"))?t3.parse(await e3.text()):e3.text()},E=e3=>typeof e3=="function"?e3():e3;t2.gql=(e3,...t3)=>e3.reduce((e4,n3,r3)=>`${e4}${n3}${r3 in t3?String(t3[r3]):""}`,"");var w=n2(4927);Object.defineProperty(t2,"GraphQLWebSocketClient",{enumerable:!0,get:function(){return w.GraphQLWebSocketClient}});var O=n2(6917);Object.defineProperty(t2,"resolveRequestDocument",{enumerable:!0,get:function(){return O.resolveRequestDocument}}),t2.default=y},7491:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.parseRawRequestExtendedArgs=t2.parseRequestExtendedArgs=t2.parseBatchRequestArgs=t2.parseRawRequestArgs=t2.parseRequestArgs=void 0,t2.parseRequestArgs=(e3,t3,n2)=>e3.document?e3:{document:e3,variables:t3,requestHeaders:n2,signal:void 0},t2.parseRawRequestArgs=(e3,t3,n2)=>e3.query?e3:{query:e3,variables:t3,requestHeaders:n2,signal:void 0},t2.parseBatchRequestArgs=(e3,t3)=>e3.documents?e3:{documents:e3,requestHeaders:t3,signal:void 0},t2.parseRequestExtendedArgs=(e3,t3,...n2)=>{const[r2,i]=n2;return e3.document?e3:{url:e3,document:t3,variables:r2,requestHeaders:i,signal:void 0}},t2.parseRawRequestExtendedArgs=(e3,t3,...n2)=>{const[r2,i]=n2;return e3.query?e3:{url:e3,query:t3,variables:r2,requestHeaders:i,signal:void 0}}},6917:(e2,t2,n2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.resolveRequestDocument=void 0;const r2=n2(2874),i=e3=>{let t3;const n3=e3.definitions.filter(e4=>e4.kind==="OperationDefinition");return n3.length===1&&(t3=n3[0]?.name?.value),t3};t2.resolveRequestDocument=e3=>{if(typeof e3=="string"){let t4;try{const n3=(0,r2.parse)(e3);t4=i(n3)}catch{}return{query:e3,operationName:t4}}const t3=i(e3);return{query:(0,r2.print)(e3),operationName:t3}}},5928:(e2,t2)=>{"use strict";Object.defineProperty(t2,"__esModule",{value:!0}),t2.ClientError=void 0;class n2 extends Error{constructor(e3,t3){super(`${n2.extractMessage(e3)}: ${JSON.stringify({response:e3,request:t3})}`),Object.setPrototypeOf(this,n2.prototype),this.response=e3,this.request=t3,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,n2)}static extractMessage(e3){return e3.errors?.[0]?.message??`GraphQL Error (Code: ${e3.status})`}}t2.ClientError=n2},2874:(e2,t2,n2)=>{"use strict";n2.r(t2),n2.d(t2,{BREAK:()=>be,BreakingChangeType:()=>Da,DEFAULT_DEPRECATION_REASON:()=>qn,DangerousChangeType:()=>ka,DirectiveLocation:()=>J,ExecutableDefinitionsRule:()=>Rr,FieldsOnCorrectTypeRule:()=>Ur,FragmentsOnCompositeTypesRule:()=>Cr,GraphQLBoolean:()=>bn,GraphQLDeprecatedDirective:()=>Wn,GraphQLDirective:()=>Bn,GraphQLEnumType:()=>Zt,GraphQLError:()=>S,GraphQLFloat:()=>mn,GraphQLID:()=>_n,GraphQLIncludeDirective:()=>Hn,GraphQLInputObjectType:()=>tn,GraphQLInt:()=>vn,GraphQLInterfaceType:()=>Qt,GraphQLList:()=>jt,GraphQLNonNull:()=>Rt,GraphQLObjectType:()=>Ht,GraphQLScalarType:()=>Bt,GraphQLSchema:()=>Zn,GraphQLSkipDirective:()=>Gn,GraphQLSpecifiedByDirective:()=>zn,GraphQLString:()=>gn,GraphQLUnionType:()=>Kt,Kind:()=>R,KnownArgumentNamesRule:()=>ei,KnownDirectivesRule:()=>Jr,KnownFragmentNamesRule:()=>Br,KnownTypeNamesRule:()=>Mr,Lexer:()=>ee,Location:()=>M,LoneAnonymousOperationRule:()=>Dr,LoneSchemaDefinitionRule:()=>Ii,NoDeprecatedCustomRule:()=>Lo,NoFragmentCyclesRule:()=>qr,NoSchemaIntrospectionCustomRule:()=>Co,NoUndefinedVariablesRule:()=>zr,NoUnusedFragmentsRule:()=>Hr,NoUnusedVariablesRule:()=>Yr,OverlappingFieldsCanBeMergedRule:()=>hi,PossibleFragmentSpreadsRule:()=>Gr,PossibleTypeExtensionsRule:()=>ki,ProvidedRequiredArgumentsRule:()=>ui,ScalarLeafsRule:()=>Vr,SchemaMetaFieldDef:()=>kn,SingleFieldSubscriptionsRule:()=>kr,Source:()=>z,Token:()=>L,TokenKind:()=>F,TypeInfo:()=>br,TypeKind:()=>Pn,TypeMetaFieldDef:()=>Mn,TypeNameMetaFieldDef:()=>Ln,UniqueArgumentNamesRule:()=>ni,UniqueDirectiveNamesRule:()=>Pi,UniqueDirectivesPerLocationRule:()=>Qr,UniqueEnumValueNamesRule:()=>Ai,UniqueFieldDefinitionNamesRule:()=>ji,UniqueFragmentNamesRule:()=>$r,UniqueInputFieldNamesRule:()=>Ni,UniqueOperationNamesRule:()=>Pr,UniqueOperationTypesRule:()=>Si,UniqueTypeNamesRule:()=>xi,UniqueVariableNamesRule:()=>Wr,ValidationContext:()=>$i,ValuesOfCorrectTypeRule:()=>ri,VariablesAreInputTypesRule:()=>Fr,VariablesInAllowedPositionRule:()=>fi,__Directive:()=>In,__DirectiveLocation:()=>Sn,__EnumValue:()=>Rn,__Field:()=>An,__InputValue:()=>jn,__Schema:()=>Nn,__Type:()=>xn,__TypeKind:()=>Dn,assertAbstractType:()=>At,assertCompositeType:()=>St,assertDirective:()=>$n,assertEnumType:()=>dt,assertInputObjectType:()=>vt,assertInputType:()=>Et,assertInterfaceType:()=>ct,assertLeafType:()=>Nt,assertListType:()=>yt,assertNamedType:()=>Ft,assertNonNullType:()=>bt,assertNullableType:()=>Mt,assertObjectType:()=>st,assertOutputType:()=>Ot,assertScalarType:()=>ot,assertSchema:()=>Xn,assertType:()=>rt,assertUnionType:()=>ft,assertValidName:()=>Se,assertValidSchema:()=>nr,assertWrappingType:()=>Dt,astFromValue:()=>On,buildASTSchema:()=>na,buildClientSchema:()=>Wo,buildSchema:()=>ra,coerceInputValue:()=>Qi,concatAST:()=>Ta,createSourceEventStream:()=>Mo,defaultFieldResolver:()=>No,defaultTypeResolver:()=>To,doTypesOverlap:()=>sn,execute:()=>no,executeSync:()=>ro,extendSchema:()=>Qo,findBreakingChanges:()=>Ma,findDangerousChanges:()=>La,findDeprecatedUsages:()=>Ja,formatError:()=>Fo,getDescription:()=>ta,getDirectiveValues:()=>eo,getIntrospectionQuery:()=>$o,getLocation:()=>f,getNamedType:()=>Vt,getNullableType:()=>Lt,getOperationAST:()=>Bo,getOperationRootType:()=>Wi,getVisitFn:()=>we,graphql:()=>So,graphqlSync:()=>xo,introspectionFromSchema:()=>qo,introspectionTypes:()=>Cn,isAbstractType:()=>xt,isCompositeType:()=>It,isDefinitionNode:()=>wr,isDirective:()=>Un,isEnumType:()=>pt,isEqualType:()=>on,isExecutableDefinitionNode:()=>Or,isInputObjectType:()=>ht,isInputType:()=>_t,isInterfaceType:()=>ut,isIntrospectionType:()=>Fn,isLeafType:()=>Tt,isListType:()=>mt,isNamedType:()=>Ct,isNonNullType:()=>gt,isNullableType:()=>kt,isObjectType:()=>at,isOutputType:()=>wt,isRequiredArgument:()=>Jt,isRequiredInputField:()=>rn,isScalarType:()=>it,isSchema:()=>Kn,isSelectionNode:()=>Tr,isSpecifiedDirective:()=>Jn,isSpecifiedScalarType:()=>wn,isType:()=>nt,isTypeDefinitionNode:()=>xr,isTypeExtensionNode:()=>jr,isTypeNode:()=>Ir,isTypeSubTypeOf:()=>an,isTypeSystemDefinitionNode:()=>Sr,isTypeSystemExtensionNode:()=>Ar,isUnionType:()=>lt,isValidNameError:()=>xe,isValueNode:()=>Nr,isWrappingType:()=>Pt,lexicographicSortSchema:()=>sa,locatedError:()=>Ne,parse:()=>pe,parseType:()=>he,parseValue:()=>de,print:()=>Ge,printError:()=>A,printIntrospectionSchema:()=>pa,printLocation:()=>p,printSchema:()=>fa,printSourceLocation:()=>d,printType:()=>ma,responsePathAsArray:()=>qi,separateOperations:()=>Na,specifiedDirectives:()=>Yn,specifiedRules:()=>Li,specifiedScalarTypes:()=>En,stripIgnoredCharacters:()=>xa,subscribe:()=>Do,syntaxError:()=>j,typeFromAST:()=>gr,validate:()=>Bi,validateSchema:()=>tr,valueFromAST:()=>Yi,valueFromASTUntyped:()=>Ze,version:()=>r2,versionInfo:()=>i,visit:()=>_e,visitInParallel:()=>Ee,visitWithTypeInfo:()=>Er});var r2="15.8.0",i=Object.freeze({major:15,minor:8,patch:0,preReleaseTag:null});function o(e3){return typeof e3?.then=="function"}function a(e3){return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e4){return typeof e4}:function(e4){return e4&&typeof Symbol=="function"&&e4.constructor===Symbol&&e4!==Symbol.prototype?"symbol":typeof e4},a(e3)}function s(e3){return a(e3)=="object"&&e3!==null}var u=typeof Symbol=="function"&&Symbol.iterator!=null?Symbol.iterator:"@@iterator",c=typeof Symbol=="function"&&Symbol.asyncIterator!=null?Symbol.asyncIterator:"@@asyncIterator",l=typeof Symbol=="function"&&Symbol.toStringTag!=null?Symbol.toStringTag:"@@toStringTag";function f(e3,t3){for(var n3,r3=/\r\n|[\n\r]/g,i2=1,o2=t3+1;(n3=r3.exec(e3.body))&&n3.index<t3;)i2+=1,o2=t3+1-(n3.index+n3[0].length);return{line:i2,column:o2}}function p(e3){return d(e3.source,f(e3.source,e3.start))}function d(e3,t3){var n3=e3.locationOffset.column-1,r3=v(n3)+e3.body,i2=t3.line-1,o2=e3.locationOffset.line-1,a2=t3.line+o2,s2=t3.line===1?n3:0,u2=t3.column+s2,c2="".concat(e3.name,":").concat(a2,":").concat(u2,`
|
50
|
-
`),l2=r3.split(/\r\n|[\n\r]/g),f2=l2[i2];if(f2.length>120){for(var p2=Math.floor(u2/80),d2=u2%80,m2=[],y2=0;y2<f2.length;y2+=80)m2.push(f2.slice(y2,y2+80));return c2+h([["".concat(a2),m2[0]]].concat(m2.slice(1,p2+1).map(function(e4){return["",e4]}),[[" ",v(d2-1)+"^"],["",m2[p2+1]]]))}return c2+h([["".concat(a2-1),l2[i2-1]],["".concat(a2),f2],["",v(u2-1)+"^"],["".concat(a2+1),l2[i2+1]]])}function h(e3){var t3=e3.filter(function(e4){return e4[0],e4[1]!==void 0}),n3=Math.max.apply(Math,t3.map(function(e4){return e4[0].length}));return t3.map(function(e4){var t4,r3=e4[0],i2=e4[1];return v(n3-(t4=r3).length)+t4+(i2?" | "+i2:" |")}).join(`
|
51
|
-
`)}function v(e3){return Array(e3+1).join(" ")}function m(e3){return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e4){return typeof e4}:function(e4){return e4&&typeof Symbol=="function"&&e4.constructor===Symbol&&e4!==Symbol.prototype?"symbol":typeof e4},m(e3)}function y(e3,t3){var n3=Object.keys(e3);if(Object.getOwnPropertySymbols){var r3=Object.getOwnPropertySymbols(e3);t3&&(r3=r3.filter(function(t4){return Object.getOwnPropertyDescriptor(e3,t4).enumerable})),n3.push.apply(n3,r3)}return n3}function g(e3,t3,n3){return t3 in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}function b(e3,t3){for(var n3=0;n3<t3.length;n3++){var r3=t3[n3];r3.enumerable=r3.enumerable||!1,r3.configurable=!0,"value"in r3&&(r3.writable=!0),Object.defineProperty(e3,r3.key,r3)}}function _(e3,t3){return!t3||m(t3)!=="object"&&typeof t3!="function"?E(e3):t3}function E(e3){if(e3===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e3}function w(e3){var t3=typeof Map=="function"?new Map:void 0;return w=function(e4){if(e4===null||(n3=e4,Function.toString.call(n3).indexOf("[native code]")===-1))return e4;var n3;if(typeof e4!="function")throw new TypeError("Super expression must either be null or a function");if(t3!==void 0){if(t3.has(e4))return t3.get(e4);t3.set(e4,r3)}function r3(){return O(e4,arguments,I(this).constructor)}return r3.prototype=Object.create(e4.prototype,{constructor:{value:r3,enumerable:!1,writable:!0,configurable:!0}}),N(r3,e4)},w(e3)}function O(e3,t3,n3){return O=T()?Reflect.construct:function(e4,t4,n4){var r3=[null];r3.push.apply(r3,t4);var i2=new(Function.bind.apply(e4,r3));return n4&&N(i2,n4.prototype),i2},O.apply(null,arguments)}function T(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function N(e3,t3){return N=Object.setPrototypeOf||function(e4,t4){return e4.__proto__=t4,e4},N(e3,t3)}function I(e3){return I=Object.setPrototypeOf?Object.getPrototypeOf:function(e4){return e4.__proto__||Object.getPrototypeOf(e4)},I(e3)}var S=function(e3){(function(e4,t4){if(typeof t4!="function"&&t4!==null)throw new TypeError("Super expression must either be null or a function");e4.prototype=Object.create(t4&&t4.prototype,{constructor:{value:e4,writable:!0,configurable:!0}}),t4&&N(e4,t4)})(a2,e3);var t3,n3,r3,i2,o2=(t3=a2,n3=T(),function(){var e4,r4=I(t3);if(n3){var i3=I(this).constructor;e4=Reflect.construct(r4,arguments,i3)}else e4=r4.apply(this,arguments);return _(this,e4)});function a2(e4,t4,n4,r4,i3,u2,c2){var l2,p2,d2,h2;(function(e5,t5){if(!(e5 instanceof t5))throw new TypeError("Cannot call a class as a function")})(this,a2),(h2=o2.call(this,e4)).name="GraphQLError",h2.originalError=u2??void 0,h2.nodes=x(Array.isArray(t4)?t4:t4?[t4]:void 0);for(var v2=[],m2=0,b2=(w2=h2.nodes)!==null&&w2!==void 0?w2:[];m2<b2.length;m2++){var w2,O2=b2[m2].loc;O2!=null&&v2.push(O2)}v2=x(v2),h2.source=n4??((l2=v2)===null||l2===void 0?void 0:l2[0].source),h2.positions=r4??((p2=v2)===null||p2===void 0?void 0:p2.map(function(e5){return e5.start})),h2.locations=r4&&n4?r4.map(function(e5){return f(n4,e5)}):(d2=v2)===null||d2===void 0?void 0:d2.map(function(e5){return f(e5.source,e5.start)}),h2.path=i3??void 0;var T2=u2?.extensions;return c2==null&&s(T2)?h2.extensions=function(e5){for(var t5=1;t5<arguments.length;t5++){var n5=arguments[t5]!=null?arguments[t5]:{};t5%2?y(Object(n5),!0).forEach(function(t6){g(e5,t6,n5[t6])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e5,Object.getOwnPropertyDescriptors(n5)):y(Object(n5)).forEach(function(t6){Object.defineProperty(e5,t6,Object.getOwnPropertyDescriptor(n5,t6))})}return e5}({},T2):h2.extensions=c2??{},Object.defineProperties(E(h2),{message:{enumerable:!0},locations:{enumerable:h2.locations!=null},path:{enumerable:h2.path!=null},extensions:{enumerable:h2.extensions!=null&&Object.keys(h2.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),u2!=null&&u2.stack?(Object.defineProperty(E(h2),"stack",{value:u2.stack,writable:!0,configurable:!0}),_(h2)):(Error.captureStackTrace?Error.captureStackTrace(E(h2),a2):Object.defineProperty(E(h2),"stack",{value:Error().stack,writable:!0,configurable:!0}),h2)}return r3=a2,(i2=[{key:"toString",value:function(){return A(this)}},{key:l,get:function(){return"Object"}}])&&b(r3.prototype,i2),a2}(w(Error));function x(e3){return e3===void 0||e3.length===0?void 0:e3}function A(e3){var t3=e3.message;if(e3.nodes)for(var n3=0,r3=e3.nodes;n3<r3.length;n3++){var i2=r3[n3];i2.loc&&(t3+=`
|
52
|
-
|
53
|
-
`+p(i2.loc))}else if(e3.source&&e3.locations)for(var o2=0,a2=e3.locations;o2<a2.length;o2++){var s2=a2[o2];t3+=`
|
54
|
-
|
55
|
-
`+d(e3.source,s2)}return t3}function j(e3,t3,n3){return new S("Syntax Error: ".concat(n3),void 0,e3,[t3])}var R=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});function P(e3,t3){if(!Boolean(e3))throw new Error(t3??"Unexpected invariant triggered.")}const D=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):void 0;function k(e3){var t3=e3.prototype.toJSON;typeof t3=="function"||P(0),e3.prototype.inspect=t3,D&&(e3.prototype[D]=t3)}var M=function(){function e3(e4,t3,n3){this.start=e4.start,this.end=t3.end,this.startToken=e4,this.endToken=t3,this.source=n3}return e3.prototype.toJSON=function(){return{start:this.start,end:this.end}},e3}();k(M);var L=function(){function e3(e4,t3,n3,r3,i2,o2,a2){this.kind=e4,this.start=t3,this.end=n3,this.line=r3,this.column=i2,this.value=a2,this.prev=o2,this.next=null}return e3.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e3}();function C(e3){return e3!=null&&typeof e3.kind=="string"}k(L);var F=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function V(e3){return V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e4){return typeof e4}:function(e4){return e4&&typeof Symbol=="function"&&e4.constructor===Symbol&&e4!==Symbol.prototype?"symbol":typeof e4},V(e3)}var U=10,$=2;function B(e3){return H(e3,[])}function H(e3,t3){switch(V(e3)){case"string":return JSON.stringify(e3);case"function":return e3.name?"[function ".concat(e3.name,"]"):"[function]";case"object":return e3===null?"null":function(e4,t4){if(t4.indexOf(e4)!==-1)return"[Circular]";var n3=[].concat(t4,[e4]),r3=function(e5){var t5=e5[String(D)];return typeof t5=="function"?t5:typeof e5.inspect=="function"?e5.inspect:void 0}(e4);if(r3!==void 0){var i2=r3.call(e4);if(i2!==e4)return typeof i2=="string"?i2:H(i2,n3)}else if(Array.isArray(e4))return function(e5,t5){if(e5.length===0)return"[]";if(t5.length>$)return"[Array]";for(var n4=Math.min(U,e5.length),r4=e5.length-n4,i3=[],o2=0;o2<n4;++o2)i3.push(H(e5[o2],t5));return r4===1?i3.push("... 1 more item"):r4>1&&i3.push("... ".concat(r4," more items")),"["+i3.join(", ")+"]"}(e4,n3);return function(e5,t5){var n4=Object.keys(e5);return n4.length===0?"{}":t5.length>$?"["+function(e6){var t6=Object.prototype.toString.call(e6).replace(/^\[object /,"").replace(/]$/,"");if(t6==="Object"&&typeof e6.constructor=="function"){var n5=e6.constructor.name;if(typeof n5=="string"&&n5!=="")return n5}return t6}(e5)+"]":"{ "+n4.map(function(n5){return n5+": "+H(e5[n5],t5)}).join(", ")+" }"}(e4,n3)}(e3,t3);default:return String(e3)}}function G(e3,t3){if(!Boolean(e3))throw new Error(t3)}const q=function(e3,t3){return e3 instanceof t3};function W(e3,t3){for(var n3=0;n3<t3.length;n3++){var r3=t3[n3];r3.enumerable=r3.enumerable||!1,r3.configurable=!0,"value"in r3&&(r3.writable=!0),Object.defineProperty(e3,r3.key,r3)}}var z=function(){function e3(e4){var t4=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"GraphQL request",n4=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{line:1,column:1};typeof e4=="string"||G(0,"Body must be a string. Received: ".concat(B(e4),".")),this.body=e4,this.name=t4,this.locationOffset=n4,this.locationOffset.line>0||G(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||G(0,"column in locationOffset is 1-indexed and must be positive.")}var t3,n3;return t3=e3,(n3=[{key:l,get:function(){return"Source"}}])&&W(t3.prototype,n3),e3}();function Y(e3){return q(e3,z)}var J=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function Q(e3){var t3=e3.split(/\r\n|[\n\r]/g),n3=X(e3);if(n3!==0)for(var r3=1;r3<t3.length;r3++)t3[r3]=t3[r3].slice(n3);for(var i2=0;i2<t3.length&&K(t3[i2]);)++i2;for(var o2=t3.length;o2>i2&&K(t3[o2-1]);)--o2;return t3.slice(i2,o2).join(`
|
56
|
-
`)}function K(e3){for(var t3=0;t3<e3.length;++t3)if(e3[t3]!==" "&&e3[t3]!==" ")return!1;return!0}function X(e3){for(var t3,n3=!0,r3=!0,i2=0,o2=null,a2=0;a2<e3.length;++a2)switch(e3.charCodeAt(a2)){case 13:e3.charCodeAt(a2+1)===10&&++a2;case 10:n3=!1,r3=!0,i2=0;break;case 9:case 32:++i2;break;default:r3&&!n3&&(o2===null||i2<o2)&&(o2=i2),r3=!1}return(t3=o2)!==null&&t3!==void 0?t3:0}function Z(e3){var t3=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n3=arguments.length>2&&arguments[2]!==void 0&&arguments[2],r3=e3.indexOf(`
|
57
|
-
`)===-1,i2=e3[0]===" "||e3[0]===" ",o2=e3[e3.length-1]==='"',a2=e3[e3.length-1]==="\\",s2=!r3||o2||a2||n3,u2="";return!s2||r3&&i2||(u2+=`
|
58
|
-
`+t3),u2+=t3?e3.replace(/\n/g,`
|
59
|
-
`+t3):e3,s2&&(u2+=`
|
60
|
-
`),'"""'+u2.replace(/"""/g,'\\"""')+'"""'}var ee=function(){function e3(e4){var t4=new L(F.SOF,0,0,0,0,null);this.source=e4,this.lastToken=t4,this.token=t4,this.line=1,this.lineStart=0}var t3=e3.prototype;return t3.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t3.lookahead=function(){var e4=this.token;if(e4.kind!==F.EOF)do{var t4;e4=(t4=e4.next)!==null&&t4!==void 0?t4:e4.next=re(this,e4)}while(e4.kind===F.COMMENT);return e4},e3}();function te(e3){return e3===F.BANG||e3===F.DOLLAR||e3===F.AMP||e3===F.PAREN_L||e3===F.PAREN_R||e3===F.SPREAD||e3===F.COLON||e3===F.EQUALS||e3===F.AT||e3===F.BRACKET_L||e3===F.BRACKET_R||e3===F.BRACE_L||e3===F.PIPE||e3===F.BRACE_R}function ne(e3){return isNaN(e3)?F.EOF:e3<127?JSON.stringify(String.fromCharCode(e3)):'"\\u'.concat(("00"+e3.toString(16).toUpperCase()).slice(-4),'"')}function re(e3,t3){for(var n3=e3.source,r3=n3.body,i2=r3.length,o2=t3.end;o2<i2;){var a2=r3.charCodeAt(o2),s2=e3.line,u2=1+o2-e3.lineStart;switch(a2){case 65279:case 9:case 32:case 44:++o2;continue;case 10:++o2,++e3.line,e3.lineStart=o2;continue;case 13:r3.charCodeAt(o2+1)===10?o2+=2:++o2,++e3.line,e3.lineStart=o2;continue;case 33:return new L(F.BANG,o2,o2+1,s2,u2,t3);case 35:return oe(n3,o2,s2,u2,t3);case 36:return new L(F.DOLLAR,o2,o2+1,s2,u2,t3);case 38:return new L(F.AMP,o2,o2+1,s2,u2,t3);case 40:return new L(F.PAREN_L,o2,o2+1,s2,u2,t3);case 41:return new L(F.PAREN_R,o2,o2+1,s2,u2,t3);case 46:if(r3.charCodeAt(o2+1)===46&&r3.charCodeAt(o2+2)===46)return new L(F.SPREAD,o2,o2+3,s2,u2,t3);break;case 58:return new L(F.COLON,o2,o2+1,s2,u2,t3);case 61:return new L(F.EQUALS,o2,o2+1,s2,u2,t3);case 64:return new L(F.AT,o2,o2+1,s2,u2,t3);case 91:return new L(F.BRACKET_L,o2,o2+1,s2,u2,t3);case 93:return new L(F.BRACKET_R,o2,o2+1,s2,u2,t3);case 123:return new L(F.BRACE_L,o2,o2+1,s2,u2,t3);case 124:return new L(F.PIPE,o2,o2+1,s2,u2,t3);case 125:return new L(F.BRACE_R,o2,o2+1,s2,u2,t3);case 34:return r3.charCodeAt(o2+1)===34&&r3.charCodeAt(o2+2)===34?ce(n3,o2,s2,u2,t3,e3):ue(n3,o2,s2,u2,t3);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return ae(n3,o2,a2,s2,u2,t3);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return fe(n3,o2,s2,u2,t3)}throw j(n3,o2,ie(a2))}var c2=e3.line,l2=1+o2-e3.lineStart;return new L(F.EOF,i2,i2,c2,l2,t3)}function ie(e3){return e3<32&&e3!==9&&e3!==10&&e3!==13?"Cannot contain the invalid character ".concat(ne(e3),"."):e3===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:"Cannot parse the unexpected character ".concat(ne(e3),".")}function oe(e3,t3,n3,r3,i2){var o2,a2=e3.body,s2=t3;do o2=a2.charCodeAt(++s2);while(!isNaN(o2)&&(o2>31||o2===9));return new L(F.COMMENT,t3,s2,n3,r3,i2,a2.slice(t3+1,s2))}function ae(e3,t3,n3,r3,i2,o2){var a2=e3.body,s2=n3,u2=t3,c2=!1;if(s2===45&&(s2=a2.charCodeAt(++u2)),s2===48){if((s2=a2.charCodeAt(++u2))>=48&&s2<=57)throw j(e3,u2,"Invalid number, unexpected digit after 0: ".concat(ne(s2),"."))}else u2=se(e3,u2,s2),s2=a2.charCodeAt(u2);if(s2===46&&(c2=!0,s2=a2.charCodeAt(++u2),u2=se(e3,u2,s2),s2=a2.charCodeAt(u2)),s2!==69&&s2!==101||(c2=!0,(s2=a2.charCodeAt(++u2))!==43&&s2!==45||(s2=a2.charCodeAt(++u2)),u2=se(e3,u2,s2),s2=a2.charCodeAt(u2)),s2===46||function(e4){return e4===95||e4>=65&&e4<=90||e4>=97&&e4<=122}(s2))throw j(e3,u2,"Invalid number, expected digit but got: ".concat(ne(s2),"."));return new L(c2?F.FLOAT:F.INT,t3,u2,r3,i2,o2,a2.slice(t3,u2))}function se(e3,t3,n3){var r3=e3.body,i2=t3,o2=n3;if(o2>=48&&o2<=57){do o2=r3.charCodeAt(++i2);while(o2>=48&&o2<=57);return i2}throw j(e3,i2,"Invalid number, expected digit but got: ".concat(ne(o2),"."))}function ue(e3,t3,n3,r3,i2){for(var o2,a2,s2,u2,c2=e3.body,l2=t3+1,f2=l2,p2=0,d2="";l2<c2.length&&!isNaN(p2=c2.charCodeAt(l2))&&p2!==10&&p2!==13;){if(p2===34)return d2+=c2.slice(f2,l2),new L(F.STRING,t3,l2+1,n3,r3,i2,d2);if(p2<32&&p2!==9)throw j(e3,l2,"Invalid character within String: ".concat(ne(p2),"."));if(++l2,p2===92){switch(d2+=c2.slice(f2,l2-1),p2=c2.charCodeAt(l2)){case 34:d2+='"';break;case 47:d2+="/";break;case 92:d2+="\\";break;case 98:d2+="\b";break;case 102:d2+="\f";break;case 110:d2+=`
|
61
|
-
`;break;case 114:d2+="\r";break;case 116:d2+=" ";break;case 117:var h2=(o2=c2.charCodeAt(l2+1),a2=c2.charCodeAt(l2+2),s2=c2.charCodeAt(l2+3),u2=c2.charCodeAt(l2+4),le(o2)<<12|le(a2)<<8|le(s2)<<4|le(u2));if(h2<0){var v2=c2.slice(l2+1,l2+5);throw j(e3,l2,"Invalid character escape sequence: \\u".concat(v2,"."))}d2+=String.fromCharCode(h2),l2+=4;break;default:throw j(e3,l2,"Invalid character escape sequence: \\".concat(String.fromCharCode(p2),"."))}f2=++l2}}throw j(e3,l2,"Unterminated string.")}function ce(e3,t3,n3,r3,i2,o2){for(var a2=e3.body,s2=t3+3,u2=s2,c2=0,l2="";s2<a2.length&&!isNaN(c2=a2.charCodeAt(s2));){if(c2===34&&a2.charCodeAt(s2+1)===34&&a2.charCodeAt(s2+2)===34)return l2+=a2.slice(u2,s2),new L(F.BLOCK_STRING,t3,s2+3,n3,r3,i2,Q(l2));if(c2<32&&c2!==9&&c2!==10&&c2!==13)throw j(e3,s2,"Invalid character within String: ".concat(ne(c2),"."));c2===10?(++s2,++o2.line,o2.lineStart=s2):c2===13?(a2.charCodeAt(s2+1)===10?s2+=2:++s2,++o2.line,o2.lineStart=s2):c2===92&&a2.charCodeAt(s2+1)===34&&a2.charCodeAt(s2+2)===34&&a2.charCodeAt(s2+3)===34?(l2+=a2.slice(u2,s2)+'"""',u2=s2+=4):++s2}throw j(e3,s2,"Unterminated string.")}function le(e3){return e3>=48&&e3<=57?e3-48:e3>=65&&e3<=70?e3-55:e3>=97&&e3<=102?e3-87:-1}function fe(e3,t3,n3,r3,i2){for(var o2=e3.body,a2=o2.length,s2=t3+1,u2=0;s2!==a2&&!isNaN(u2=o2.charCodeAt(s2))&&(u2===95||u2>=48&&u2<=57||u2>=65&&u2<=90||u2>=97&&u2<=122);)++s2;return new L(F.NAME,t3,s2,n3,r3,i2,o2.slice(t3,s2))}function pe(e3,t3){return new ve(e3,t3).parseDocument()}function de(e3,t3){var n3=new ve(e3,t3);n3.expectToken(F.SOF);var r3=n3.parseValueLiteral(!1);return n3.expectToken(F.EOF),r3}function he(e3,t3){var n3=new ve(e3,t3);n3.expectToken(F.SOF);var r3=n3.parseTypeReference();return n3.expectToken(F.EOF),r3}var ve=function(){function e3(e4,t4){var n3=Y(e4)?e4:new z(e4);this._lexer=new ee(n3),this._options=t4}var t3=e3.prototype;return t3.parseName=function(){var e4=this.expectToken(F.NAME);return{kind:R.NAME,value:e4.value,loc:this.loc(e4)}},t3.parseDocument=function(){var e4=this._lexer.token;return{kind:R.DOCUMENT,definitions:this.many(F.SOF,this.parseDefinition,F.EOF),loc:this.loc(e4)}},t3.parseDefinition=function(){if(this.peek(F.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(F.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t3.parseOperationDefinition=function(){var e4=this._lexer.token;if(this.peek(F.BRACE_L))return{kind:R.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e4)};var t4,n3=this.parseOperationType();return this.peek(F.NAME)&&(t4=this.parseName()),{kind:R.OPERATION_DEFINITION,operation:n3,name:t4,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e4)}},t3.parseOperationType=function(){var e4=this.expectToken(F.NAME);switch(e4.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e4)},t3.parseVariableDefinitions=function(){return this.optionalMany(F.PAREN_L,this.parseVariableDefinition,F.PAREN_R)},t3.parseVariableDefinition=function(){var e4=this._lexer.token;return{kind:R.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(F.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(F.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e4)}},t3.parseVariable=function(){var e4=this._lexer.token;return this.expectToken(F.DOLLAR),{kind:R.VARIABLE,name:this.parseName(),loc:this.loc(e4)}},t3.parseSelectionSet=function(){var e4=this._lexer.token;return{kind:R.SELECTION_SET,selections:this.many(F.BRACE_L,this.parseSelection,F.BRACE_R),loc:this.loc(e4)}},t3.parseSelection=function(){return this.peek(F.SPREAD)?this.parseFragment():this.parseField()},t3.parseField=function(){var e4,t4,n3=this._lexer.token,r3=this.parseName();return this.expectOptionalToken(F.COLON)?(e4=r3,t4=this.parseName()):t4=r3,{kind:R.FIELD,alias:e4,name:t4,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(F.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n3)}},t3.parseArguments=function(e4){var t4=e4?this.parseConstArgument:this.parseArgument;return this.optionalMany(F.PAREN_L,t4,F.PAREN_R)},t3.parseArgument=function(){var e4=this._lexer.token,t4=this.parseName();return this.expectToken(F.COLON),{kind:R.ARGUMENT,name:t4,value:this.parseValueLiteral(!1),loc:this.loc(e4)}},t3.parseConstArgument=function(){var e4=this._lexer.token;return{kind:R.ARGUMENT,name:this.parseName(),value:(this.expectToken(F.COLON),this.parseValueLiteral(!0)),loc:this.loc(e4)}},t3.parseFragment=function(){var e4=this._lexer.token;this.expectToken(F.SPREAD);var t4=this.expectOptionalKeyword("on");return!t4&&this.peek(F.NAME)?{kind:R.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e4)}:{kind:R.INLINE_FRAGMENT,typeCondition:t4?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e4)}},t3.parseFragmentDefinition=function(){var e4,t4=this._lexer.token;return this.expectKeyword("fragment"),((e4=this._options)===null||e4===void 0?void 0:e4.experimentalFragmentVariables)===!0?{kind:R.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t4)}:{kind:R.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t4)}},t3.parseFragmentName=function(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()},t3.parseValueLiteral=function(e4){var t4=this._lexer.token;switch(t4.kind){case F.BRACKET_L:return this.parseList(e4);case F.BRACE_L:return this.parseObject(e4);case F.INT:return this._lexer.advance(),{kind:R.INT,value:t4.value,loc:this.loc(t4)};case F.FLOAT:return this._lexer.advance(),{kind:R.FLOAT,value:t4.value,loc:this.loc(t4)};case F.STRING:case F.BLOCK_STRING:return this.parseStringLiteral();case F.NAME:switch(this._lexer.advance(),t4.value){case"true":return{kind:R.BOOLEAN,value:!0,loc:this.loc(t4)};case"false":return{kind:R.BOOLEAN,value:!1,loc:this.loc(t4)};case"null":return{kind:R.NULL,loc:this.loc(t4)};default:return{kind:R.ENUM,value:t4.value,loc:this.loc(t4)}}case F.DOLLAR:if(!e4)return this.parseVariable()}throw this.unexpected()},t3.parseStringLiteral=function(){var e4=this._lexer.token;return this._lexer.advance(),{kind:R.STRING,value:e4.value,block:e4.kind===F.BLOCK_STRING,loc:this.loc(e4)}},t3.parseList=function(e4){var t4=this,n3=this._lexer.token;return{kind:R.LIST,values:this.any(F.BRACKET_L,function(){return t4.parseValueLiteral(e4)},F.BRACKET_R),loc:this.loc(n3)}},t3.parseObject=function(e4){var t4=this,n3=this._lexer.token;return{kind:R.OBJECT,fields:this.any(F.BRACE_L,function(){return t4.parseObjectField(e4)},F.BRACE_R),loc:this.loc(n3)}},t3.parseObjectField=function(e4){var t4=this._lexer.token,n3=this.parseName();return this.expectToken(F.COLON),{kind:R.OBJECT_FIELD,name:n3,value:this.parseValueLiteral(e4),loc:this.loc(t4)}},t3.parseDirectives=function(e4){for(var t4=[];this.peek(F.AT);)t4.push(this.parseDirective(e4));return t4},t3.parseDirective=function(e4){var t4=this._lexer.token;return this.expectToken(F.AT),{kind:R.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e4),loc:this.loc(t4)}},t3.parseTypeReference=function(){var e4,t4=this._lexer.token;return this.expectOptionalToken(F.BRACKET_L)?(e4=this.parseTypeReference(),this.expectToken(F.BRACKET_R),e4={kind:R.LIST_TYPE,type:e4,loc:this.loc(t4)}):e4=this.parseNamedType(),this.expectOptionalToken(F.BANG)?{kind:R.NON_NULL_TYPE,type:e4,loc:this.loc(t4)}:e4},t3.parseNamedType=function(){var e4=this._lexer.token;return{kind:R.NAMED_TYPE,name:this.parseName(),loc:this.loc(e4)}},t3.parseTypeSystemDefinition=function(){var e4=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e4.kind===F.NAME)switch(e4.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e4)},t3.peekDescription=function(){return this.peek(F.STRING)||this.peek(F.BLOCK_STRING)},t3.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t3.parseSchemaDefinition=function(){var e4=this._lexer.token,t4=this.parseDescription();this.expectKeyword("schema");var n3=this.parseDirectives(!0),r3=this.many(F.BRACE_L,this.parseOperationTypeDefinition,F.BRACE_R);return{kind:R.SCHEMA_DEFINITION,description:t4,directives:n3,operationTypes:r3,loc:this.loc(e4)}},t3.parseOperationTypeDefinition=function(){var e4=this._lexer.token,t4=this.parseOperationType();this.expectToken(F.COLON);var n3=this.parseNamedType();return{kind:R.OPERATION_TYPE_DEFINITION,operation:t4,type:n3,loc:this.loc(e4)}},t3.parseScalarTypeDefinition=function(){var e4=this._lexer.token,t4=this.parseDescription();this.expectKeyword("scalar");var n3=this.parseName(),r3=this.parseDirectives(!0);return{kind:R.SCALAR_TYPE_DEFINITION,description:t4,name:n3,directives:r3,loc:this.loc(e4)}},t3.parseObjectTypeDefinition=function(){var e4=this._lexer.token,t4=this.parseDescription();this.expectKeyword("type");var n3=this.parseName(),r3=this.parseImplementsInterfaces(),i2=this.parseDirectives(!0),o2=this.parseFieldsDefinition();return{kind:R.OBJECT_TYPE_DEFINITION,description:t4,name:n3,interfaces:r3,directives:i2,fields:o2,loc:this.loc(e4)}},t3.parseImplementsInterfaces=function(){var e4;if(!this.expectOptionalKeyword("implements"))return[];if(((e4=this._options)===null||e4===void 0?void 0:e4.allowLegacySDLImplementsInterfaces)===!0){var t4=[];this.expectOptionalToken(F.AMP);do t4.push(this.parseNamedType());while(this.expectOptionalToken(F.AMP)||this.peek(F.NAME));return t4}return this.delimitedMany(F.AMP,this.parseNamedType)},t3.parseFieldsDefinition=function(){var e4;return((e4=this._options)===null||e4===void 0?void 0:e4.allowLegacySDLEmptyFields)===!0&&this.peek(F.BRACE_L)&&this._lexer.lookahead().kind===F.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(F.BRACE_L,this.parseFieldDefinition,F.BRACE_R)},t3.parseFieldDefinition=function(){var e4=this._lexer.token,t4=this.parseDescription(),n3=this.parseName(),r3=this.parseArgumentDefs();this.expectToken(F.COLON);var i2=this.parseTypeReference(),o2=this.parseDirectives(!0);return{kind:R.FIELD_DEFINITION,description:t4,name:n3,arguments:r3,type:i2,directives:o2,loc:this.loc(e4)}},t3.parseArgumentDefs=function(){return this.optionalMany(F.PAREN_L,this.parseInputValueDef,F.PAREN_R)},t3.parseInputValueDef=function(){var e4=this._lexer.token,t4=this.parseDescription(),n3=this.parseName();this.expectToken(F.COLON);var r3,i2=this.parseTypeReference();this.expectOptionalToken(F.EQUALS)&&(r3=this.parseValueLiteral(!0));var o2=this.parseDirectives(!0);return{kind:R.INPUT_VALUE_DEFINITION,description:t4,name:n3,type:i2,defaultValue:r3,directives:o2,loc:this.loc(e4)}},t3.parseInterfaceTypeDefinition=function(){var e4=this._lexer.token,t4=this.parseDescription();this.expectKeyword("interface");var n3=this.parseName(),r3=this.parseImplementsInterfaces(),i2=this.parseDirectives(!0),o2=this.parseFieldsDefinition();return{kind:R.INTERFACE_TYPE_DEFINITION,description:t4,name:n3,interfaces:r3,directives:i2,fields:o2,loc:this.loc(e4)}},t3.parseUnionTypeDefinition=function(){var e4=this._lexer.token,t4=this.parseDescription();this.expectKeyword("union");var n3=this.parseName(),r3=this.parseDirectives(!0),i2=this.parseUnionMemberTypes();return{kind:R.UNION_TYPE_DEFINITION,description:t4,name:n3,directives:r3,types:i2,loc:this.loc(e4)}},t3.parseUnionMemberTypes=function(){return this.expectOptionalToken(F.EQUALS)?this.delimitedMany(F.PIPE,this.parseNamedType):[]},t3.parseEnumTypeDefinition=function(){var e4=this._lexer.token,t4=this.parseDescription();this.expectKeyword("enum");var n3=this.parseName(),r3=this.parseDirectives(!0),i2=this.parseEnumValuesDefinition();return{kind:R.ENUM_TYPE_DEFINITION,description:t4,name:n3,directives:r3,values:i2,loc:this.loc(e4)}},t3.parseEnumValuesDefinition=function(){return this.optionalMany(F.BRACE_L,this.parseEnumValueDefinition,F.BRACE_R)},t3.parseEnumValueDefinition=function(){var e4=this._lexer.token,t4=this.parseDescription(),n3=this.parseName(),r3=this.parseDirectives(!0);return{kind:R.ENUM_VALUE_DEFINITION,description:t4,name:n3,directives:r3,loc:this.loc(e4)}},t3.parseInputObjectTypeDefinition=function(){var e4=this._lexer.token,t4=this.parseDescription();this.expectKeyword("input");var n3=this.parseName(),r3=this.parseDirectives(!0),i2=this.parseInputFieldsDefinition();return{kind:R.INPUT_OBJECT_TYPE_DEFINITION,description:t4,name:n3,directives:r3,fields:i2,loc:this.loc(e4)}},t3.parseInputFieldsDefinition=function(){return this.optionalMany(F.BRACE_L,this.parseInputValueDef,F.BRACE_R)},t3.parseTypeSystemExtension=function(){var e4=this._lexer.lookahead();if(e4.kind===F.NAME)switch(e4.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e4)},t3.parseSchemaExtension=function(){var e4=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t4=this.parseDirectives(!0),n3=this.optionalMany(F.BRACE_L,this.parseOperationTypeDefinition,F.BRACE_R);if(t4.length===0&&n3.length===0)throw this.unexpected();return{kind:R.SCHEMA_EXTENSION,directives:t4,operationTypes:n3,loc:this.loc(e4)}},t3.parseScalarTypeExtension=function(){var e4=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t4=this.parseName(),n3=this.parseDirectives(!0);if(n3.length===0)throw this.unexpected();return{kind:R.SCALAR_TYPE_EXTENSION,name:t4,directives:n3,loc:this.loc(e4)}},t3.parseObjectTypeExtension=function(){var e4=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t4=this.parseName(),n3=this.parseImplementsInterfaces(),r3=this.parseDirectives(!0),i2=this.parseFieldsDefinition();if(n3.length===0&&r3.length===0&&i2.length===0)throw this.unexpected();return{kind:R.OBJECT_TYPE_EXTENSION,name:t4,interfaces:n3,directives:r3,fields:i2,loc:this.loc(e4)}},t3.parseInterfaceTypeExtension=function(){var e4=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t4=this.parseName(),n3=this.parseImplementsInterfaces(),r3=this.parseDirectives(!0),i2=this.parseFieldsDefinition();if(n3.length===0&&r3.length===0&&i2.length===0)throw this.unexpected();return{kind:R.INTERFACE_TYPE_EXTENSION,name:t4,interfaces:n3,directives:r3,fields:i2,loc:this.loc(e4)}},t3.parseUnionTypeExtension=function(){var e4=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t4=this.parseName(),n3=this.parseDirectives(!0),r3=this.parseUnionMemberTypes();if(n3.length===0&&r3.length===0)throw this.unexpected();return{kind:R.UNION_TYPE_EXTENSION,name:t4,directives:n3,types:r3,loc:this.loc(e4)}},t3.parseEnumTypeExtension=function(){var e4=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t4=this.parseName(),n3=this.parseDirectives(!0),r3=this.parseEnumValuesDefinition();if(n3.length===0&&r3.length===0)throw this.unexpected();return{kind:R.ENUM_TYPE_EXTENSION,name:t4,directives:n3,values:r3,loc:this.loc(e4)}},t3.parseInputObjectTypeExtension=function(){var e4=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t4=this.parseName(),n3=this.parseDirectives(!0),r3=this.parseInputFieldsDefinition();if(n3.length===0&&r3.length===0)throw this.unexpected();return{kind:R.INPUT_OBJECT_TYPE_EXTENSION,name:t4,directives:n3,fields:r3,loc:this.loc(e4)}},t3.parseDirectiveDefinition=function(){var e4=this._lexer.token,t4=this.parseDescription();this.expectKeyword("directive"),this.expectToken(F.AT);var n3=this.parseName(),r3=this.parseArgumentDefs(),i2=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o2=this.parseDirectiveLocations();return{kind:R.DIRECTIVE_DEFINITION,description:t4,name:n3,arguments:r3,repeatable:i2,locations:o2,loc:this.loc(e4)}},t3.parseDirectiveLocations=function(){return this.delimitedMany(F.PIPE,this.parseDirectiveLocation)},t3.parseDirectiveLocation=function(){var e4=this._lexer.token,t4=this.parseName();if(J[t4.value]!==void 0)return t4;throw this.unexpected(e4)},t3.loc=function(e4){var t4;if(((t4=this._options)===null||t4===void 0?void 0:t4.noLocation)!==!0)return new M(e4,this._lexer.lastToken,this._lexer.source)},t3.peek=function(e4){return this._lexer.token.kind===e4},t3.expectToken=function(e4){var t4=this._lexer.token;if(t4.kind===e4)return this._lexer.advance(),t4;throw j(this._lexer.source,t4.start,"Expected ".concat(ye(e4),", found ").concat(me(t4),"."))},t3.expectOptionalToken=function(e4){var t4=this._lexer.token;if(t4.kind===e4)return this._lexer.advance(),t4},t3.expectKeyword=function(e4){var t4=this._lexer.token;if(t4.kind!==F.NAME||t4.value!==e4)throw j(this._lexer.source,t4.start,'Expected "'.concat(e4,'", found ').concat(me(t4),"."));this._lexer.advance()},t3.expectOptionalKeyword=function(e4){var t4=this._lexer.token;return t4.kind===F.NAME&&t4.value===e4&&(this._lexer.advance(),!0)},t3.unexpected=function(e4){var t4=e4??this._lexer.token;return j(this._lexer.source,t4.start,"Unexpected ".concat(me(t4),"."))},t3.any=function(e4,t4,n3){this.expectToken(e4);for(var r3=[];!this.expectOptionalToken(n3);)r3.push(t4.call(this));return r3},t3.optionalMany=function(e4,t4,n3){if(this.expectOptionalToken(e4)){var r3=[];do r3.push(t4.call(this));while(!this.expectOptionalToken(n3));return r3}return[]},t3.many=function(e4,t4,n3){this.expectToken(e4);var r3=[];do r3.push(t4.call(this));while(!this.expectOptionalToken(n3));return r3},t3.delimitedMany=function(e4,t4){this.expectOptionalToken(e4);var n3=[];do n3.push(t4.call(this));while(this.expectOptionalToken(e4));return n3},e3}();function me(e3){var t3=e3.value;return ye(e3.kind)+(t3!=null?' "'.concat(t3,'"'):"")}function ye(e3){return te(e3)?'"'.concat(e3,'"'):e3}var ge={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},be=Object.freeze({});function _e(e3,t3){var n3=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ge,r3=void 0,i2=Array.isArray(e3),o2=[e3],a2=-1,s2=[],u2=void 0,c2=void 0,l2=void 0,f2=[],p2=[],d2=e3;do{var h2=++a2===o2.length,v2=h2&&s2.length!==0;if(h2){if(c2=p2.length===0?void 0:f2[f2.length-1],u2=l2,l2=p2.pop(),v2){if(i2)u2=u2.slice();else{for(var m2={},y2=0,g2=Object.keys(u2);y2<g2.length;y2++){var b2=g2[y2];m2[b2]=u2[b2]}u2=m2}for(var _2=0,E2=0;E2<s2.length;E2++){var w2=s2[E2][0],O2=s2[E2][1];i2&&(w2-=_2),i2&&O2===null?(u2.splice(w2,1),_2++):u2[w2]=O2}}a2=r3.index,o2=r3.keys,s2=r3.edits,i2=r3.inArray,r3=r3.prev}else{if(c2=l2?i2?a2:o2[a2]:void 0,(u2=l2?l2[c2]:d2)==null)continue;l2&&f2.push(c2)}var T2,N2=void 0;if(!Array.isArray(u2)){if(!C(u2))throw new Error("Invalid AST Node: ".concat(B(u2),"."));var I2=we(t3,u2.kind,h2);if(I2){if((N2=I2.call(t3,u2,c2,l2,f2,p2))===be)break;if(N2===!1){if(!h2){f2.pop();continue}}else if(N2!==void 0&&(s2.push([c2,N2]),!h2)){if(!C(N2)){f2.pop();continue}u2=N2}}}N2===void 0&&v2&&s2.push([c2,u2]),h2?f2.pop():(r3={inArray:i2,index:a2,keys:o2,edits:s2,prev:r3},o2=(i2=Array.isArray(u2))?u2:(T2=n3[u2.kind])!==null&&T2!==void 0?T2:[],a2=-1,s2=[],l2&&p2.push(l2),l2=u2)}while(r3!==void 0);return s2.length!==0&&(d2=s2[s2.length-1][1]),d2}function Ee(e3){var t3=new Array(e3.length);return{enter:function(n3){for(var r3=0;r3<e3.length;r3++)if(t3[r3]==null){var i2=we(e3[r3],n3.kind,!1);if(i2){var o2=i2.apply(e3[r3],arguments);if(o2===!1)t3[r3]=n3;else if(o2===be)t3[r3]=be;else if(o2!==void 0)return o2}}},leave:function(n3){for(var r3=0;r3<e3.length;r3++)if(t3[r3]==null){var i2=we(e3[r3],n3.kind,!0);if(i2){var o2=i2.apply(e3[r3],arguments);if(o2===be)t3[r3]=be;else if(o2!==void 0&&o2!==!1)return o2}}else t3[r3]===n3&&(t3[r3]=null)}}}function we(e3,t3,n3){var r3=e3[t3];if(r3){if(!n3&&typeof r3=="function")return r3;var i2=n3?r3.leave:r3.enter;if(typeof i2=="function")return i2}else{var o2=n3?e3.leave:e3.enter;if(o2){if(typeof o2=="function")return o2;var a2=o2[t3];if(typeof a2=="function")return a2}}}const Oe=Array.prototype.find?function(e3,t3){return Array.prototype.find.call(e3,t3)}:function(e3,t3){for(var n3=0;n3<e3.length;n3++){var r3=e3[n3];if(t3(r3))return r3}},Te=Object.values||function(e3){return Object.keys(e3).map(function(t3){return e3[t3]})};function Ne(e3,t3,n3){var r3,i2=e3 instanceof Error?e3:new Error("Unexpected error value: "+B(e3));return Array.isArray(i2.path)?i2:new S(i2.message,(r3=i2.nodes)!==null&&r3!==void 0?r3:t3,i2.source,i2.positions,n3,i2)}var Ie=/^[_a-zA-Z][_a-zA-Z0-9]*$/;function Se(e3){var t3=xe(e3);if(t3)throw t3;return e3}function xe(e3){return typeof e3=="string"||G(0,"Expected name to be a string."),e3.length>1&&e3[0]==="_"&&e3[1]==="_"?new S('Name "'.concat(e3,'" must not begin with "__", which is reserved by GraphQL introspection.')):Ie.test(e3)?void 0:new S('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but "'.concat(e3,'" does not.'))}const Ae=Object.entries||function(e3){return Object.keys(e3).map(function(t3){return[t3,e3[t3]]})};function je(e3,t3){return e3.reduce(function(e4,n3){return e4[t3(n3)]=n3,e4},Object.create(null))}function Re(e3,t3){for(var n3=Object.create(null),r3=0,i2=Ae(e3);r3<i2.length;r3++){var o2=i2[r3],a2=o2[0],s2=o2[1];n3[a2]=t3(s2,a2)}return n3}function Pe(e3){if(Object.getPrototypeOf(e3)===null)return e3;for(var t3=Object.create(null),n3=0,r3=Ae(e3);n3<r3.length;n3++){var i2=r3[n3],o2=i2[0],a2=i2[1];t3[o2]=a2}return t3}function De(e3,t3,n3){return e3.reduce(function(e4,r3){return e4[t3(r3)]=n3(r3),e4},Object.create(null))}var ke=5;function Me(e3,t3){var n3=typeof e3=="string"?[e3,t3]:[void 0,e3],r3=n3[0],i2=" Did you mean ";r3&&(i2+=r3+" ");var o2=n3[1].map(function(e4){return'"'.concat(e4,'"')});switch(o2.length){case 0:return"";case 1:return i2+o2[0]+"?";case 2:return i2+o2[0]+" or "+o2[1]+"?"}var a2=o2.slice(0,ke),s2=a2.pop();return i2+a2.join(", ")+", or "+s2+"?"}function Le(e3){return e3}function Ce(e3,t3){for(var n3=0,r3=0;n3<e3.length&&r3<t3.length;){var i2=e3.charCodeAt(n3),o2=t3.charCodeAt(r3);if(Ue(i2)&&Ue(o2)){var a2=0;do++n3,a2=10*a2+i2-Fe,i2=e3.charCodeAt(n3);while(Ue(i2)&&a2>0);var s2=0;do++r3,s2=10*s2+o2-Fe,o2=t3.charCodeAt(r3);while(Ue(o2)&&s2>0);if(a2<s2)return-1;if(a2>s2)return 1}else{if(i2<o2)return-1;if(i2>o2)return 1;++n3,++r3}}return e3.length-t3.length}var Fe=48,Ve=57;function Ue(e3){return!isNaN(e3)&&Fe<=e3&&e3<=Ve}function $e(e3,t3){for(var n3=Object.create(null),r3=new Be(e3),i2=Math.floor(.4*e3.length)+1,o2=0;o2<t3.length;o2++){var a2=t3[o2],s2=r3.measure(a2,i2);s2!==void 0&&(n3[a2]=s2)}return Object.keys(n3).sort(function(e4,t4){var r4=n3[e4]-n3[t4];return r4!==0?r4:Ce(e4,t4)})}var Be=function(){function e3(e4){this._input=e4,this._inputLowerCase=e4.toLowerCase(),this._inputArray=He(this._inputLowerCase),this._rows=[new Array(e4.length+1).fill(0),new Array(e4.length+1).fill(0),new Array(e4.length+1).fill(0)]}return e3.prototype.measure=function(e4,t3){if(this._input===e4)return 0;var n3=e4.toLowerCase();if(this._inputLowerCase===n3)return 1;var r3=He(n3),i2=this._inputArray;if(r3.length<i2.length){var o2=r3;r3=i2,i2=o2}var a2=r3.length,s2=i2.length;if(!(a2-s2>t3)){for(var u2=this._rows,c2=0;c2<=s2;c2++)u2[0][c2]=c2;for(var l2=1;l2<=a2;l2++){for(var f2=u2[(l2-1)%3],p2=u2[l2%3],d2=p2[0]=l2,h2=1;h2<=s2;h2++){var v2=r3[l2-1]===i2[h2-1]?0:1,m2=Math.min(f2[h2]+1,p2[h2-1]+1,f2[h2-1]+v2);if(l2>1&&h2>1&&r3[l2-1]===i2[h2-2]&&r3[l2-2]===i2[h2-1]){var y2=u2[(l2-2)%3][h2-2];m2=Math.min(m2,y2+1)}m2<d2&&(d2=m2),p2[h2]=m2}if(d2>t3)return}var g2=u2[a2%3][s2];return g2<=t3?g2:void 0}},e3}();function He(e3){for(var t3=e3.length,n3=new Array(t3),r3=0;r3<t3;++r3)n3[r3]=e3.charCodeAt(r3);return n3}function Ge(e3){return _e(e3,{leave:qe})}var qe={Name:function(e3){return e3.value},Variable:function(e3){return"$"+e3.name},Document:function(e3){return ze(e3.definitions,`
|
62
|
-
|
63
|
-
`)+`
|
64
|
-
`},OperationDefinition:function(e3){var t3=e3.operation,n3=e3.name,r3=Je("(",ze(e3.variableDefinitions,", "),")"),i2=ze(e3.directives," "),o2=e3.selectionSet;return n3||i2||r3||t3!=="query"?ze([t3,ze([n3,r3]),i2,o2]," "):o2},VariableDefinition:function(e3){var t3=e3.variable,n3=e3.type,r3=e3.defaultValue,i2=e3.directives;return t3+": "+n3+Je(" = ",r3)+Je(" ",ze(i2," "))},SelectionSet:function(e3){return Ye(e3.selections)},Field:function(e3){var t3=e3.alias,n3=e3.name,r3=e3.arguments,i2=e3.directives,o2=e3.selectionSet,a2=Je("",t3,": ")+n3,s2=a2+Je("(",ze(r3,", "),")");return s2.length>80&&(s2=a2+Je(`(
|
65
|
-
`,Qe(ze(r3,`
|
66
|
-
`)),`
|
67
|
-
)`)),ze([s2,ze(i2," "),o2]," ")},Argument:function(e3){return e3.name+": "+e3.value},FragmentSpread:function(e3){return"..."+e3.name+Je(" ",ze(e3.directives," "))},InlineFragment:function(e3){var t3=e3.typeCondition,n3=e3.directives,r3=e3.selectionSet;return ze(["...",Je("on ",t3),ze(n3," "),r3]," ")},FragmentDefinition:function(e3){var t3=e3.name,n3=e3.typeCondition,r3=e3.variableDefinitions,i2=e3.directives,o2=e3.selectionSet;return"fragment ".concat(t3).concat(Je("(",ze(r3,", "),")")," ")+"on ".concat(n3," ").concat(Je("",ze(i2," ")," "))+o2},IntValue:function(e3){return e3.value},FloatValue:function(e3){return e3.value},StringValue:function(e3,t3){var n3=e3.value;return e3.block?Z(n3,t3==="description"?"":" "):JSON.stringify(n3)},BooleanValue:function(e3){return e3.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e3){return e3.value},ListValue:function(e3){return"["+ze(e3.values,", ")+"]"},ObjectValue:function(e3){return"{"+ze(e3.fields,", ")+"}"},ObjectField:function(e3){return e3.name+": "+e3.value},Directive:function(e3){return"@"+e3.name+Je("(",ze(e3.arguments,", "),")")},NamedType:function(e3){return e3.name},ListType:function(e3){return"["+e3.type+"]"},NonNullType:function(e3){return e3.type+"!"},SchemaDefinition:We(function(e3){var t3=e3.directives,n3=e3.operationTypes;return ze(["schema",ze(t3," "),Ye(n3)]," ")}),OperationTypeDefinition:function(e3){return e3.operation+": "+e3.type},ScalarTypeDefinition:We(function(e3){return ze(["scalar",e3.name,ze(e3.directives," ")]," ")}),ObjectTypeDefinition:We(function(e3){var t3=e3.name,n3=e3.interfaces,r3=e3.directives,i2=e3.fields;return ze(["type",t3,Je("implements ",ze(n3," & ")),ze(r3," "),Ye(i2)]," ")}),FieldDefinition:We(function(e3){var t3=e3.name,n3=e3.arguments,r3=e3.type,i2=e3.directives;return t3+(Xe(n3)?Je(`(
|
68
|
-
`,Qe(ze(n3,`
|
69
|
-
`)),`
|
70
|
-
)`):Je("(",ze(n3,", "),")"))+": "+r3+Je(" ",ze(i2," "))}),InputValueDefinition:We(function(e3){var t3=e3.name,n3=e3.type,r3=e3.defaultValue,i2=e3.directives;return ze([t3+": "+n3,Je("= ",r3),ze(i2," ")]," ")}),InterfaceTypeDefinition:We(function(e3){var t3=e3.name,n3=e3.interfaces,r3=e3.directives,i2=e3.fields;return ze(["interface",t3,Je("implements ",ze(n3," & ")),ze(r3," "),Ye(i2)]," ")}),UnionTypeDefinition:We(function(e3){var t3=e3.name,n3=e3.directives,r3=e3.types;return ze(["union",t3,ze(n3," "),r3&&r3.length!==0?"= "+ze(r3," | "):""]," ")}),EnumTypeDefinition:We(function(e3){var t3=e3.name,n3=e3.directives,r3=e3.values;return ze(["enum",t3,ze(n3," "),Ye(r3)]," ")}),EnumValueDefinition:We(function(e3){return ze([e3.name,ze(e3.directives," ")]," ")}),InputObjectTypeDefinition:We(function(e3){var t3=e3.name,n3=e3.directives,r3=e3.fields;return ze(["input",t3,ze(n3," "),Ye(r3)]," ")}),DirectiveDefinition:We(function(e3){var t3=e3.name,n3=e3.arguments,r3=e3.repeatable,i2=e3.locations;return"directive @"+t3+(Xe(n3)?Je(`(
|
71
|
-
`,Qe(ze(n3,`
|
72
|
-
`)),`
|
73
|
-
)`):Je("(",ze(n3,", "),")"))+(r3?" repeatable":"")+" on "+ze(i2," | ")}),SchemaExtension:function(e3){var t3=e3.directives,n3=e3.operationTypes;return ze(["extend schema",ze(t3," "),Ye(n3)]," ")},ScalarTypeExtension:function(e3){return ze(["extend scalar",e3.name,ze(e3.directives," ")]," ")},ObjectTypeExtension:function(e3){var t3=e3.name,n3=e3.interfaces,r3=e3.directives,i2=e3.fields;return ze(["extend type",t3,Je("implements ",ze(n3," & ")),ze(r3," "),Ye(i2)]," ")},InterfaceTypeExtension:function(e3){var t3=e3.name,n3=e3.interfaces,r3=e3.directives,i2=e3.fields;return ze(["extend interface",t3,Je("implements ",ze(n3," & ")),ze(r3," "),Ye(i2)]," ")},UnionTypeExtension:function(e3){var t3=e3.name,n3=e3.directives,r3=e3.types;return ze(["extend union",t3,ze(n3," "),r3&&r3.length!==0?"= "+ze(r3," | "):""]," ")},EnumTypeExtension:function(e3){var t3=e3.name,n3=e3.directives,r3=e3.values;return ze(["extend enum",t3,ze(n3," "),Ye(r3)]," ")},InputObjectTypeExtension:function(e3){var t3=e3.name,n3=e3.directives,r3=e3.fields;return ze(["extend input",t3,ze(n3," "),Ye(r3)]," ")}};function We(e3){return function(t3){return ze([t3.description,e3(t3)],`
|
74
|
-
`)}}function ze(e3){var t3,n3=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(t3=e3?.filter(function(e4){return e4}).join(n3))!==null&&t3!==void 0?t3:""}function Ye(e3){return Je(`{
|
75
|
-
`,Qe(ze(e3,`
|
76
|
-
`)),`
|
77
|
-
}`)}function Je(e3,t3){return t3!=null&&t3!==""?e3+t3+(arguments.length>2&&arguments[2]!==void 0?arguments[2]:""):""}function Qe(e3){return Je(" ",e3.replace(/\n/g,`
|
78
|
-
`))}function Ke(e3){return e3.indexOf(`
|
79
|
-
`)!==-1}function Xe(e3){return e3!=null&&e3.some(Ke)}function Ze(e3,t3){switch(e3.kind){case R.NULL:return null;case R.INT:return parseInt(e3.value,10);case R.FLOAT:return parseFloat(e3.value);case R.STRING:case R.ENUM:case R.BOOLEAN:return e3.value;case R.LIST:return e3.values.map(function(e4){return Ze(e4,t3)});case R.OBJECT:return De(e3.fields,function(e4){return e4.name.value},function(e4){return Ze(e4.value,t3)});case R.VARIABLE:return t3?.[e3.name.value]}P(0,"Unexpected value node: "+B(e3))}function et(e3,t3){for(var n3=0;n3<t3.length;n3++){var r3=t3[n3];r3.enumerable=r3.enumerable||!1,r3.configurable=!0,"value"in r3&&(r3.writable=!0),Object.defineProperty(e3,r3.key,r3)}}function tt(e3,t3,n3){return t3&&et(e3.prototype,t3),n3&&et(e3,n3),e3}function nt(e3){return it(e3)||at(e3)||ut(e3)||lt(e3)||pt(e3)||ht(e3)||mt(e3)||gt(e3)}function rt(e3){if(!nt(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL type."));return e3}function it(e3){return q(e3,Bt)}function ot(e3){if(!it(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL Scalar type."));return e3}function at(e3){return q(e3,Ht)}function st(e3){if(!at(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL Object type."));return e3}function ut(e3){return q(e3,Qt)}function ct(e3){if(!ut(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL Interface type."));return e3}function lt(e3){return q(e3,Kt)}function ft(e3){if(!lt(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL Union type."));return e3}function pt(e3){return q(e3,Zt)}function dt(e3){if(!pt(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL Enum type."));return e3}function ht(e3){return q(e3,tn)}function vt(e3){if(!ht(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL Input Object type."));return e3}function mt(e3){return q(e3,jt)}function yt(e3){if(!mt(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL List type."));return e3}function gt(e3){return q(e3,Rt)}function bt(e3){if(!gt(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL Non-Null type."));return e3}function _t(e3){return it(e3)||pt(e3)||ht(e3)||Pt(e3)&&_t(e3.ofType)}function Et(e3){if(!_t(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL input type."));return e3}function wt(e3){return it(e3)||at(e3)||ut(e3)||lt(e3)||pt(e3)||Pt(e3)&&wt(e3.ofType)}function Ot(e3){if(!wt(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL output type."));return e3}function Tt(e3){return it(e3)||pt(e3)}function Nt(e3){if(!Tt(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL leaf type."));return e3}function It(e3){return at(e3)||ut(e3)||lt(e3)}function St(e3){if(!It(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL composite type."));return e3}function xt(e3){return ut(e3)||lt(e3)}function At(e3){if(!xt(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL abstract type."));return e3}function jt(e3){if(!(this instanceof jt))return new jt(e3);this.ofType=rt(e3)}function Rt(e3){if(!(this instanceof Rt))return new Rt(e3);this.ofType=Mt(e3)}function Pt(e3){return mt(e3)||gt(e3)}function Dt(e3){if(!Pt(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL wrapping type."));return e3}function kt(e3){return nt(e3)&&!gt(e3)}function Mt(e3){if(!kt(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL nullable type."));return e3}function Lt(e3){if(e3)return gt(e3)?e3.ofType:e3}function Ct(e3){return it(e3)||at(e3)||ut(e3)||lt(e3)||pt(e3)||ht(e3)}function Ft(e3){if(!Ct(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL named type."));return e3}function Vt(e3){if(e3){for(var t3=e3;Pt(t3);)t3=t3.ofType;return t3}}function Ut(e3){return typeof e3=="function"?e3():e3}function $t(e3){return e3&&e3.length>0?e3:void 0}jt.prototype.toString=function(){return"["+String(this.ofType)+"]"},jt.prototype.toJSON=function(){return this.toString()},Object.defineProperty(jt.prototype,l,{get:function(){return"GraphQLList"}}),k(jt),Rt.prototype.toString=function(){return String(this.ofType)+"!"},Rt.prototype.toJSON=function(){return this.toString()},Object.defineProperty(Rt.prototype,l,{get:function(){return"GraphQLNonNull"}}),k(Rt);var Bt=function(){function e3(e4){var t4,n3,r3,i2=(t4=e4.parseValue)!==null&&t4!==void 0?t4:Le;this.name=e4.name,this.description=e4.description,this.specifiedByUrl=e4.specifiedByUrl,this.serialize=(n3=e4.serialize)!==null&&n3!==void 0?n3:Le,this.parseValue=i2,this.parseLiteral=(r3=e4.parseLiteral)!==null&&r3!==void 0?r3:function(e5,t5){return i2(Ze(e5,t5))},this.extensions=e4.extensions&&Pe(e4.extensions),this.astNode=e4.astNode,this.extensionASTNodes=$t(e4.extensionASTNodes),typeof e4.name=="string"||G(0,"Must provide name."),e4.specifiedByUrl==null||typeof e4.specifiedByUrl=="string"||G(0,"".concat(this.name,' must provide "specifiedByUrl" as a string, ')+"but got: ".concat(B(e4.specifiedByUrl),".")),e4.serialize==null||typeof e4.serialize=="function"||G(0,"".concat(this.name,' must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.')),e4.parseLiteral&&(typeof e4.parseValue=="function"&&typeof e4.parseLiteral=="function"||G(0,"".concat(this.name,' must provide both "parseValue" and "parseLiteral" functions.')))}var t3=e3.prototype;return t3.toConfig=function(){var e4;return{name:this.name,description:this.description,specifiedByUrl:this.specifiedByUrl,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:(e4=this.extensionASTNodes)!==null&&e4!==void 0?e4:[]}},t3.toString=function(){return this.name},t3.toJSON=function(){return this.toString()},tt(e3,[{key:l,get:function(){return"GraphQLScalarType"}}]),e3}();k(Bt);var Ht=function(){function e3(e4){this.name=e4.name,this.description=e4.description,this.isTypeOf=e4.isTypeOf,this.extensions=e4.extensions&&Pe(e4.extensions),this.astNode=e4.astNode,this.extensionASTNodes=$t(e4.extensionASTNodes),this._fields=qt.bind(void 0,e4),this._interfaces=Gt.bind(void 0,e4),typeof e4.name=="string"||G(0,"Must provide name."),e4.isTypeOf==null||typeof e4.isTypeOf=="function"||G(0,"".concat(this.name,' must provide "isTypeOf" as a function, ')+"but got: ".concat(B(e4.isTypeOf),"."))}var t3=e3.prototype;return t3.getFields=function(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields},t3.getInterfaces=function(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces},t3.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:zt(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t3.toString=function(){return this.name},t3.toJSON=function(){return this.toString()},tt(e3,[{key:l,get:function(){return"GraphQLObjectType"}}]),e3}();function Gt(e3){var t3,n3=(t3=Ut(e3.interfaces))!==null&&t3!==void 0?t3:[];return Array.isArray(n3)||G(0,"".concat(e3.name," interfaces must be an Array or a function which returns an Array.")),n3}function qt(e3){var t3=Ut(e3.fields);return Wt(t3)||G(0,"".concat(e3.name," fields must be an object with field names as keys or a function which returns such an object.")),Re(t3,function(t4,n3){var r3;Wt(t4)||G(0,"".concat(e3.name,".").concat(n3," field config must be an object.")),!("isDeprecated"in t4)||G(0,"".concat(e3.name,".").concat(n3,' should provide "deprecationReason" instead of "isDeprecated".')),t4.resolve==null||typeof t4.resolve=="function"||G(0,"".concat(e3.name,".").concat(n3," field resolver must be a function if ")+"provided, but got: ".concat(B(t4.resolve),"."));var i2=(r3=t4.args)!==null&&r3!==void 0?r3:{};Wt(i2)||G(0,"".concat(e3.name,".").concat(n3," args must be an object with argument names as keys."));var o2=Ae(i2).map(function(e4){var t5=e4[0],n4=e4[1];return{name:t5,description:n4.description,type:n4.type,defaultValue:n4.defaultValue,deprecationReason:n4.deprecationReason,extensions:n4.extensions&&Pe(n4.extensions),astNode:n4.astNode}});return{name:n3,description:t4.description,type:t4.type,args:o2,resolve:t4.resolve,subscribe:t4.subscribe,isDeprecated:t4.deprecationReason!=null,deprecationReason:t4.deprecationReason,extensions:t4.extensions&&Pe(t4.extensions),astNode:t4.astNode}})}function Wt(e3){return s(e3)&&!Array.isArray(e3)}function zt(e3){return Re(e3,function(e4){return{description:e4.description,type:e4.type,args:Yt(e4.args),resolve:e4.resolve,subscribe:e4.subscribe,deprecationReason:e4.deprecationReason,extensions:e4.extensions,astNode:e4.astNode}})}function Yt(e3){return De(e3,function(e4){return e4.name},function(e4){return{description:e4.description,type:e4.type,defaultValue:e4.defaultValue,deprecationReason:e4.deprecationReason,extensions:e4.extensions,astNode:e4.astNode}})}function Jt(e3){return gt(e3.type)&&e3.defaultValue===void 0}k(Ht);var Qt=function(){function e3(e4){this.name=e4.name,this.description=e4.description,this.resolveType=e4.resolveType,this.extensions=e4.extensions&&Pe(e4.extensions),this.astNode=e4.astNode,this.extensionASTNodes=$t(e4.extensionASTNodes),this._fields=qt.bind(void 0,e4),this._interfaces=Gt.bind(void 0,e4),typeof e4.name=="string"||G(0,"Must provide name."),e4.resolveType==null||typeof e4.resolveType=="function"||G(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(B(e4.resolveType),"."))}var t3=e3.prototype;return t3.getFields=function(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields},t3.getInterfaces=function(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces},t3.toConfig=function(){var e4;return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:zt(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:(e4=this.extensionASTNodes)!==null&&e4!==void 0?e4:[]}},t3.toString=function(){return this.name},t3.toJSON=function(){return this.toString()},tt(e3,[{key:l,get:function(){return"GraphQLInterfaceType"}}]),e3}();k(Qt);var Kt=function(){function e3(e4){this.name=e4.name,this.description=e4.description,this.resolveType=e4.resolveType,this.extensions=e4.extensions&&Pe(e4.extensions),this.astNode=e4.astNode,this.extensionASTNodes=$t(e4.extensionASTNodes),this._types=Xt.bind(void 0,e4),typeof e4.name=="string"||G(0,"Must provide name."),e4.resolveType==null||typeof e4.resolveType=="function"||G(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(B(e4.resolveType),"."))}var t3=e3.prototype;return t3.getTypes=function(){return typeof this._types=="function"&&(this._types=this._types()),this._types},t3.toConfig=function(){var e4;return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:(e4=this.extensionASTNodes)!==null&&e4!==void 0?e4:[]}},t3.toString=function(){return this.name},t3.toJSON=function(){return this.toString()},tt(e3,[{key:l,get:function(){return"GraphQLUnionType"}}]),e3}();function Xt(e3){var t3=Ut(e3.types);return Array.isArray(t3)||G(0,"Must provide Array of types or a function which returns such an array for Union ".concat(e3.name,".")),t3}k(Kt);var Zt=function(){function e3(e4){var t4,n3;this.name=e4.name,this.description=e4.description,this.extensions=e4.extensions&&Pe(e4.extensions),this.astNode=e4.astNode,this.extensionASTNodes=$t(e4.extensionASTNodes),this._values=(t4=this.name,Wt(n3=e4.values)||G(0,"".concat(t4," values must be an object with value names as keys.")),Ae(n3).map(function(e5){var n4=e5[0],r3=e5[1];return Wt(r3)||G(0,"".concat(t4,".").concat(n4,' must refer to an object with a "value" key ')+"representing an internal value but got: ".concat(B(r3),".")),!("isDeprecated"in r3)||G(0,"".concat(t4,".").concat(n4,' should provide "deprecationReason" instead of "isDeprecated".')),{name:n4,description:r3.description,value:r3.value!==void 0?r3.value:n4,isDeprecated:r3.deprecationReason!=null,deprecationReason:r3.deprecationReason,extensions:r3.extensions&&Pe(r3.extensions),astNode:r3.astNode}})),this._valueLookup=new Map(this._values.map(function(e5){return[e5.value,e5]})),this._nameLookup=je(this._values,function(e5){return e5.name}),typeof e4.name=="string"||G(0,"Must provide name.")}var t3=e3.prototype;return t3.getValues=function(){return this._values},t3.getValue=function(e4){return this._nameLookup[e4]},t3.serialize=function(e4){var t4=this._valueLookup.get(e4);if(t4===void 0)throw new S('Enum "'.concat(this.name,'" cannot represent value: ').concat(B(e4)));return t4.name},t3.parseValue=function(e4){if(typeof e4!="string"){var t4=B(e4);throw new S('Enum "'.concat(this.name,'" cannot represent non-string value: ').concat(t4,".")+en(this,t4))}var n3=this.getValue(e4);if(n3==null)throw new S('Value "'.concat(e4,'" does not exist in "').concat(this.name,'" enum.')+en(this,e4));return n3.value},t3.parseLiteral=function(e4,t4){if(e4.kind!==R.ENUM){var n3=Ge(e4);throw new S('Enum "'.concat(this.name,'" cannot represent non-enum value: ').concat(n3,".")+en(this,n3),e4)}var r3=this.getValue(e4.value);if(r3==null){var i2=Ge(e4);throw new S('Value "'.concat(i2,'" does not exist in "').concat(this.name,'" enum.')+en(this,i2),e4)}return r3.value},t3.toConfig=function(){var e4,t4=De(this.getValues(),function(e5){return e5.name},function(e5){return{description:e5.description,value:e5.value,deprecationReason:e5.deprecationReason,extensions:e5.extensions,astNode:e5.astNode}});return{name:this.name,description:this.description,values:t4,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:(e4=this.extensionASTNodes)!==null&&e4!==void 0?e4:[]}},t3.toString=function(){return this.name},t3.toJSON=function(){return this.toString()},tt(e3,[{key:l,get:function(){return"GraphQLEnumType"}}]),e3}();function en(e3,t3){return Me("the enum value",$e(t3,e3.getValues().map(function(e4){return e4.name})))}k(Zt);var tn=function(){function e3(e4){this.name=e4.name,this.description=e4.description,this.extensions=e4.extensions&&Pe(e4.extensions),this.astNode=e4.astNode,this.extensionASTNodes=$t(e4.extensionASTNodes),this._fields=nn.bind(void 0,e4),typeof e4.name=="string"||G(0,"Must provide name.")}var t3=e3.prototype;return t3.getFields=function(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields},t3.toConfig=function(){var e4,t4=Re(this.getFields(),function(e5){return{description:e5.description,type:e5.type,defaultValue:e5.defaultValue,deprecationReason:e5.deprecationReason,extensions:e5.extensions,astNode:e5.astNode}});return{name:this.name,description:this.description,fields:t4,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:(e4=this.extensionASTNodes)!==null&&e4!==void 0?e4:[]}},t3.toString=function(){return this.name},t3.toJSON=function(){return this.toString()},tt(e3,[{key:l,get:function(){return"GraphQLInputObjectType"}}]),e3}();function nn(e3){var t3=Ut(e3.fields);return Wt(t3)||G(0,"".concat(e3.name," fields must be an object with field names as keys or a function which returns such an object.")),Re(t3,function(t4,n3){return!("resolve"in t4)||G(0,"".concat(e3.name,".").concat(n3," field has a resolve property, but Input Types cannot define resolvers.")),{name:n3,description:t4.description,type:t4.type,defaultValue:t4.defaultValue,deprecationReason:t4.deprecationReason,extensions:t4.extensions&&Pe(t4.extensions),astNode:t4.astNode}})}function rn(e3){return gt(e3.type)&&e3.defaultValue===void 0}function on(e3,t3){return e3===t3||(gt(e3)&>(t3)||!(!mt(e3)||!mt(t3)))&&on(e3.ofType,t3.ofType)}function an(e3,t3,n3){return t3===n3||(gt(n3)?!!gt(t3)&&an(e3,t3.ofType,n3.ofType):gt(t3)?an(e3,t3.ofType,n3):mt(n3)?!!mt(t3)&&an(e3,t3.ofType,n3.ofType):!mt(t3)&&xt(n3)&&(ut(t3)||at(t3))&&e3.isSubType(n3,t3))}function sn(e3,t3,n3){return t3===n3||(xt(t3)?xt(n3)?e3.getPossibleTypes(t3).some(function(t4){return e3.isSubType(n3,t4)}):e3.isSubType(t3,n3):!!xt(n3)&&e3.isSubType(n3,t3))}k(tn);const un=Array.from||function(e3,t3,n3){if(e3==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r3=e3[u];if(typeof r3=="function"){for(var i2,o2=r3.call(e3),a2=[],s2=0;!(i2=o2.next()).done;++s2)if(a2.push(t3.call(n3,i2.value,s2)),s2>9999999)throw new TypeError("Near-infinite iteration.");return a2}var c2=e3.length;if(typeof c2=="number"&&c2>=0&&c2%1==0){for(var l2=[],f2=0;f2<c2;++f2)Object.prototype.hasOwnProperty.call(e3,f2)&&l2.push(t3.call(n3,e3[f2],f2));return l2}return[]},cn=Number.isFinite||function(e3){return typeof e3=="number"&&isFinite(e3)};function ln(e3){return ln=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e4){return typeof e4}:function(e4){return e4&&typeof Symbol=="function"&&e4.constructor===Symbol&&e4!==Symbol.prototype?"symbol":typeof e4},ln(e3)}function fn(e3){var t3=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(e4){return e4};if(e3==null||ln(e3)!=="object")return null;if(Array.isArray(e3))return e3.map(t3);var n3=e3[u];if(typeof n3=="function"){for(var r3,i2=n3.call(e3),o2=[],a2=0;!(r3=i2.next()).done;++a2)o2.push(t3(r3.value,a2));return o2}var s2=e3.length;if(typeof s2=="number"&&s2>=0&&s2%1==0){for(var c2=[],l2=0;l2<s2;++l2){if(!Object.prototype.hasOwnProperty.call(e3,l2))return null;c2.push(t3(e3[String(l2)],l2))}return c2}return null}const pn=Number.isInteger||function(e3){return typeof e3=="number"&&isFinite(e3)&&Math.floor(e3)===e3};var dn=2147483647,hn=-2147483648,vn=new Bt({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize:function(e3){var t3=yn(e3);if(typeof t3=="boolean")return t3?1:0;var n3=t3;if(typeof t3=="string"&&t3!==""&&(n3=Number(t3)),!pn(n3))throw new S("Int cannot represent non-integer value: ".concat(B(t3)));if(n3>dn||n3<hn)throw new S("Int cannot represent non 32-bit signed integer value: "+B(t3));return n3},parseValue:function(e3){if(!pn(e3))throw new S("Int cannot represent non-integer value: ".concat(B(e3)));if(e3>dn||e3<hn)throw new S("Int cannot represent non 32-bit signed integer value: ".concat(e3));return e3},parseLiteral:function(e3){if(e3.kind!==R.INT)throw new S("Int cannot represent non-integer value: ".concat(Ge(e3)),e3);var t3=parseInt(e3.value,10);if(t3>dn||t3<hn)throw new S("Int cannot represent non 32-bit signed integer value: ".concat(e3.value),e3);return t3}}),mn=new Bt({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize:function(e3){var t3=yn(e3);if(typeof t3=="boolean")return t3?1:0;var n3=t3;if(typeof t3=="string"&&t3!==""&&(n3=Number(t3)),!cn(n3))throw new S("Float cannot represent non numeric value: ".concat(B(t3)));return n3},parseValue:function(e3){if(!cn(e3))throw new S("Float cannot represent non numeric value: ".concat(B(e3)));return e3},parseLiteral:function(e3){if(e3.kind!==R.FLOAT&&e3.kind!==R.INT)throw new S("Float cannot represent non numeric value: ".concat(Ge(e3)),e3);return parseFloat(e3.value)}});function yn(e3){if(s(e3)){if(typeof e3.valueOf=="function"){var t3=e3.valueOf();if(!s(t3))return t3}if(typeof e3.toJSON=="function")return e3.toJSON()}return e3}var gn=new Bt({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize:function(e3){var t3=yn(e3);if(typeof t3=="string")return t3;if(typeof t3=="boolean")return t3?"true":"false";if(cn(t3))return t3.toString();throw new S("String cannot represent value: ".concat(B(e3)))},parseValue:function(e3){if(typeof e3!="string")throw new S("String cannot represent a non string value: ".concat(B(e3)));return e3},parseLiteral:function(e3){if(e3.kind!==R.STRING)throw new S("String cannot represent a non string value: ".concat(Ge(e3)),e3);return e3.value}}),bn=new Bt({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:function(e3){var t3=yn(e3);if(typeof t3=="boolean")return t3;if(cn(t3))return t3!==0;throw new S("Boolean cannot represent a non boolean value: ".concat(B(t3)))},parseValue:function(e3){if(typeof e3!="boolean")throw new S("Boolean cannot represent a non boolean value: ".concat(B(e3)));return e3},parseLiteral:function(e3){if(e3.kind!==R.BOOLEAN)throw new S("Boolean cannot represent a non boolean value: ".concat(Ge(e3)),e3);return e3.value}}),_n=new Bt({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:function(e3){var t3=yn(e3);if(typeof t3=="string")return t3;if(pn(t3))return String(t3);throw new S("ID cannot represent value: ".concat(B(e3)))},parseValue:function(e3){if(typeof e3=="string")return e3;if(pn(e3))return e3.toString();throw new S("ID cannot represent value: ".concat(B(e3)))},parseLiteral:function(e3){if(e3.kind!==R.STRING&&e3.kind!==R.INT)throw new S("ID cannot represent a non-string and non-integer value: "+Ge(e3),e3);return e3.value}}),En=Object.freeze([gn,vn,mn,bn,_n]);function wn(e3){return En.some(function(t3){var n3=t3.name;return e3.name===n3})}function On(e3,t3){if(gt(t3)){var n3=On(e3,t3.ofType);return n3?.kind===R.NULL?null:n3}if(e3===null)return{kind:R.NULL};if(e3===void 0)return null;if(mt(t3)){var r3=t3.ofType,i2=fn(e3);if(i2!=null){for(var o2=[],a2=0;a2<i2.length;a2++){var u2=On(i2[a2],r3);u2!=null&&o2.push(u2)}return{kind:R.LIST,values:o2}}return On(e3,r3)}if(ht(t3)){if(!s(e3))return null;for(var c2=[],l2=0,f2=Te(t3.getFields());l2<f2.length;l2++){var p2=f2[l2],d2=On(e3[p2.name],p2.type);d2&&c2.push({kind:R.OBJECT_FIELD,name:{kind:R.NAME,value:p2.name},value:d2})}return{kind:R.OBJECT,fields:c2}}if(Tt(t3)){var h2=t3.serialize(e3);if(h2==null)return null;if(typeof h2=="boolean")return{kind:R.BOOLEAN,value:h2};if(typeof h2=="number"&&cn(h2)){var v2=String(h2);return Tn.test(v2)?{kind:R.INT,value:v2}:{kind:R.FLOAT,value:v2}}if(typeof h2=="string")return pt(t3)?{kind:R.ENUM,value:h2}:t3===_n&&Tn.test(h2)?{kind:R.INT,value:h2}:{kind:R.STRING,value:h2};throw new TypeError("Cannot convert value to AST: ".concat(B(h2),"."))}P(0,"Unexpected input type: "+B(t3))}var Tn=/^-?(?:0|[1-9][0-9]*)$/,Nn=new Ht({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:function(){return{description:{type:gn,resolve:function(e3){return e3.description}},types:{description:"A list of all types supported by this server.",type:new Rt(new jt(new Rt(xn))),resolve:function(e3){return Te(e3.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new Rt(xn),resolve:function(e3){return e3.getQueryType()}},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:xn,resolve:function(e3){return e3.getMutationType()}},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:xn,resolve:function(e3){return e3.getSubscriptionType()}},directives:{description:"A list of all directives supported by this server.",type:new Rt(new jt(new Rt(In))),resolve:function(e3){return e3.getDirectives()}}}}}),In=new Ht({name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.
|
80
|
-
|
81
|
-
In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:function(){return{name:{type:new Rt(gn),resolve:function(e3){return e3.name}},description:{type:gn,resolve:function(e3){return e3.description}},isRepeatable:{type:new Rt(bn),resolve:function(e3){return e3.isRepeatable}},locations:{type:new Rt(new jt(new Rt(Sn))),resolve:function(e3){return e3.locations}},args:{type:new Rt(new jt(new Rt(jn))),args:{includeDeprecated:{type:bn,defaultValue:!1}},resolve:function(e3,t3){return t3.includeDeprecated?e3.args:e3.args.filter(function(e4){return e4.deprecationReason==null})}}}}}),Sn=new Zt({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:J.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:J.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:J.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:J.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:J.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:J.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:J.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:J.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:J.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:J.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:J.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:J.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:J.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:J.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:J.UNION,description:"Location adjacent to a union definition."},ENUM:{value:J.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:J.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:J.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:J.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),xn=new Ht({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByUrl`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:function(){return{kind:{type:new Rt(Dn),resolve:function(e3){return it(e3)?Pn.SCALAR:at(e3)?Pn.OBJECT:ut(e3)?Pn.INTERFACE:lt(e3)?Pn.UNION:pt(e3)?Pn.ENUM:ht(e3)?Pn.INPUT_OBJECT:mt(e3)?Pn.LIST:gt(e3)?Pn.NON_NULL:void P(0,'Unexpected type: "'.concat(B(e3),'".'))}},name:{type:gn,resolve:function(e3){return e3.name!==void 0?e3.name:void 0}},description:{type:gn,resolve:function(e3){return e3.description!==void 0?e3.description:void 0}},specifiedByUrl:{type:gn,resolve:function(e3){return e3.specifiedByUrl!==void 0?e3.specifiedByUrl:void 0}},fields:{type:new jt(new Rt(An)),args:{includeDeprecated:{type:bn,defaultValue:!1}},resolve:function(e3,t3){var n3=t3.includeDeprecated;if(at(e3)||ut(e3)){var r3=Te(e3.getFields());return n3?r3:r3.filter(function(e4){return e4.deprecationReason==null})}}},interfaces:{type:new jt(new Rt(xn)),resolve:function(e3){if(at(e3)||ut(e3))return e3.getInterfaces()}},possibleTypes:{type:new jt(new Rt(xn)),resolve:function(e3,t3,n3,r3){var i2=r3.schema;if(xt(e3))return i2.getPossibleTypes(e3)}},enumValues:{type:new jt(new Rt(Rn)),args:{includeDeprecated:{type:bn,defaultValue:!1}},resolve:function(e3,t3){var n3=t3.includeDeprecated;if(pt(e3)){var r3=e3.getValues();return n3?r3:r3.filter(function(e4){return e4.deprecationReason==null})}}},inputFields:{type:new jt(new Rt(jn)),args:{includeDeprecated:{type:bn,defaultValue:!1}},resolve:function(e3,t3){var n3=t3.includeDeprecated;if(ht(e3)){var r3=Te(e3.getFields());return n3?r3:r3.filter(function(e4){return e4.deprecationReason==null})}}},ofType:{type:xn,resolve:function(e3){return e3.ofType!==void 0?e3.ofType:void 0}}}}}),An=new Ht({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:function(){return{name:{type:new Rt(gn),resolve:function(e3){return e3.name}},description:{type:gn,resolve:function(e3){return e3.description}},args:{type:new Rt(new jt(new Rt(jn))),args:{includeDeprecated:{type:bn,defaultValue:!1}},resolve:function(e3,t3){return t3.includeDeprecated?e3.args:e3.args.filter(function(e4){return e4.deprecationReason==null})}},type:{type:new Rt(xn),resolve:function(e3){return e3.type}},isDeprecated:{type:new Rt(bn),resolve:function(e3){return e3.deprecationReason!=null}},deprecationReason:{type:gn,resolve:function(e3){return e3.deprecationReason}}}}}),jn=new Ht({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:function(){return{name:{type:new Rt(gn),resolve:function(e3){return e3.name}},description:{type:gn,resolve:function(e3){return e3.description}},type:{type:new Rt(xn),resolve:function(e3){return e3.type}},defaultValue:{type:gn,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(e3){var t3=e3.type,n3=On(e3.defaultValue,t3);return n3?Ge(n3):null}},isDeprecated:{type:new Rt(bn),resolve:function(e3){return e3.deprecationReason!=null}},deprecationReason:{type:gn,resolve:function(e3){return e3.deprecationReason}}}}}),Rn=new Ht({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:function(){return{name:{type:new Rt(gn),resolve:function(e3){return e3.name}},description:{type:gn,resolve:function(e3){return e3.description}},isDeprecated:{type:new Rt(bn),resolve:function(e3){return e3.deprecationReason!=null}},deprecationReason:{type:gn,resolve:function(e3){return e3.deprecationReason}}}}}),Pn=Object.freeze({SCALAR:"SCALAR",OBJECT:"OBJECT",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",INPUT_OBJECT:"INPUT_OBJECT",LIST:"LIST",NON_NULL:"NON_NULL"}),Dn=new Zt({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:Pn.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:Pn.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:Pn.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:Pn.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:Pn.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:Pn.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:Pn.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:Pn.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),kn={name:"__schema",type:new Rt(Nn),description:"Access the current type schema of this server.",args:[],resolve:function(e3,t3,n3,r3){return r3.schema},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},Mn={name:"__type",type:xn,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new Rt(gn),defaultValue:void 0,deprecationReason:void 0,extensions:void 0,astNode:void 0}],resolve:function(e3,t3,n3,r3){var i2=t3.name;return r3.schema.getType(i2)},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},Ln={name:"__typename",type:new Rt(gn),description:"The name of the current Object type at runtime.",args:[],resolve:function(e3,t3,n3,r3){return r3.parentType.name},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},Cn=Object.freeze([Nn,In,Sn,xn,An,jn,Rn,Dn]);function Fn(e3){return Cn.some(function(t3){var n3=t3.name;return e3.name===n3})}function Vn(e3,t3){for(var n3=0;n3<t3.length;n3++){var r3=t3[n3];r3.enumerable=r3.enumerable||!1,r3.configurable=!0,"value"in r3&&(r3.writable=!0),Object.defineProperty(e3,r3.key,r3)}}function Un(e3){return q(e3,Bn)}function $n(e3){if(!Un(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL directive."));return e3}var Bn=function(){function e3(e4){var t4,n4;this.name=e4.name,this.description=e4.description,this.locations=e4.locations,this.isRepeatable=(t4=e4.isRepeatable)!==null&&t4!==void 0&&t4,this.extensions=e4.extensions&&Pe(e4.extensions),this.astNode=e4.astNode,e4.name||G(0,"Directive must be named."),Array.isArray(e4.locations)||G(0,"@".concat(e4.name," locations must be an Array."));var r4=(n4=e4.args)!==null&&n4!==void 0?n4:{};s(r4)&&!Array.isArray(r4)||G(0,"@".concat(e4.name," args must be an object with argument names as keys.")),this.args=Ae(r4).map(function(e5){var t5=e5[0],n5=e5[1];return{name:t5,description:n5.description,type:n5.type,defaultValue:n5.defaultValue,deprecationReason:n5.deprecationReason,extensions:n5.extensions&&Pe(n5.extensions),astNode:n5.astNode}})}var t3,n3,r3=e3.prototype;return r3.toConfig=function(){return{name:this.name,description:this.description,locations:this.locations,args:Yt(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}},r3.toString=function(){return"@"+this.name},r3.toJSON=function(){return this.toString()},t3=e3,(n3=[{key:l,get:function(){return"GraphQLDirective"}}])&&Vn(t3.prototype,n3),e3}();k(Bn);var Hn=new Bn({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[J.FIELD,J.FRAGMENT_SPREAD,J.INLINE_FRAGMENT],args:{if:{type:new Rt(bn),description:"Included when true."}}}),Gn=new Bn({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[J.FIELD,J.FRAGMENT_SPREAD,J.INLINE_FRAGMENT],args:{if:{type:new Rt(bn),description:"Skipped when true."}}}),qn="No longer supported",Wn=new Bn({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[J.FIELD_DEFINITION,J.ARGUMENT_DEFINITION,J.INPUT_FIELD_DEFINITION,J.ENUM_VALUE],args:{reason:{type:gn,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:qn}}}),zn=new Bn({name:"specifiedBy",description:"Exposes a URL that specifies the behaviour of this scalar.",locations:[J.SCALAR],args:{url:{type:new Rt(gn),description:"The URL that specifies the behaviour of this scalar."}}}),Yn=Object.freeze([Hn,Gn,Wn,zn]);function Jn(e3){return Yn.some(function(t3){return t3.name===e3.name})}function Qn(e3,t3){for(var n3=0;n3<t3.length;n3++){var r3=t3[n3];r3.enumerable=r3.enumerable||!1,r3.configurable=!0,"value"in r3&&(r3.writable=!0),Object.defineProperty(e3,r3.key,r3)}}function Kn(e3){return q(e3,Zn)}function Xn(e3){if(!Kn(e3))throw new Error("Expected ".concat(B(e3)," to be a GraphQL schema."));return e3}var Zn=function(){function e3(e4){var t4;this.__validationErrors=e4.assumeValid===!0?[]:void 0,s(e4)||G(0,"Must provide configuration object."),!e4.types||Array.isArray(e4.types)||G(0,'"types" must be Array if provided but got: '.concat(B(e4.types),".")),!e4.directives||Array.isArray(e4.directives)||G(0,'"directives" must be Array if provided but got: '+"".concat(B(e4.directives),".")),this.description=e4.description,this.extensions=e4.extensions&&Pe(e4.extensions),this.astNode=e4.astNode,this.extensionASTNodes=e4.extensionASTNodes,this._queryType=e4.query,this._mutationType=e4.mutation,this._subscriptionType=e4.subscription,this._directives=(t4=e4.directives)!==null&&t4!==void 0?t4:Yn;var n4=new Set(e4.types);if(e4.types!=null)for(var r4=0,i2=e4.types;r4<i2.length;r4++){var o2=i2[r4];n4.delete(o2),er(o2,n4)}this._queryType!=null&&er(this._queryType,n4),this._mutationType!=null&&er(this._mutationType,n4),this._subscriptionType!=null&&er(this._subscriptionType,n4);for(var a2=0,u2=this._directives;a2<u2.length;a2++){var c2=u2[a2];if(Un(c2))for(var l2=0,f2=c2.args;l2<f2.length;l2++)er(f2[l2].type,n4)}er(Nn,n4),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(var p2=0,d2=un(n4);p2<d2.length;p2++){var h2=d2[p2];if(h2!=null){var v2=h2.name;if(v2||G(0,"One of the provided types for building the Schema is missing a name."),this._typeMap[v2]!==void 0)throw new Error('Schema must contain uniquely named types but contains multiple types named "'.concat(v2,'".'));if(this._typeMap[v2]=h2,ut(h2))for(var m2=0,y2=h2.getInterfaces();m2<y2.length;m2++){var g2=y2[m2];if(ut(g2)){var b2=this._implementationsMap[g2.name];b2===void 0&&(b2=this._implementationsMap[g2.name]={objects:[],interfaces:[]}),b2.interfaces.push(h2)}}else if(at(h2))for(var _2=0,E2=h2.getInterfaces();_2<E2.length;_2++){var w2=E2[_2];if(ut(w2)){var O2=this._implementationsMap[w2.name];O2===void 0&&(O2=this._implementationsMap[w2.name]={objects:[],interfaces:[]}),O2.objects.push(h2)}}}}}var t3,n3,r3=e3.prototype;return r3.getQueryType=function(){return this._queryType},r3.getMutationType=function(){return this._mutationType},r3.getSubscriptionType=function(){return this._subscriptionType},r3.getTypeMap=function(){return this._typeMap},r3.getType=function(e4){return this.getTypeMap()[e4]},r3.getPossibleTypes=function(e4){return lt(e4)?e4.getTypes():this.getImplementations(e4).objects},r3.getImplementations=function(e4){var t4=this._implementationsMap[e4.name];return t4??{objects:[],interfaces:[]}},r3.isPossibleType=function(e4,t4){return this.isSubType(e4,t4)},r3.isSubType=function(e4,t4){var n4=this._subTypeMap[e4.name];if(n4===void 0){if(n4=Object.create(null),lt(e4))for(var r4=0,i2=e4.getTypes();r4<i2.length;r4++)n4[i2[r4].name]=!0;else{for(var o2=this.getImplementations(e4),a2=0,s2=o2.objects;a2<s2.length;a2++)n4[s2[a2].name]=!0;for(var u2=0,c2=o2.interfaces;u2<c2.length;u2++)n4[c2[u2].name]=!0}this._subTypeMap[e4.name]=n4}return n4[t4.name]!==void 0},r3.getDirectives=function(){return this._directives},r3.getDirective=function(e4){return Oe(this.getDirectives(),function(t4){return t4.name===e4})},r3.toConfig=function(){var e4;return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Te(this.getTypeMap()),directives:this.getDirectives().slice(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:(e4=this.extensionASTNodes)!==null&&e4!==void 0?e4:[],assumeValid:this.__validationErrors!==void 0}},t3=e3,(n3=[{key:l,get:function(){return"GraphQLSchema"}}])&&Qn(t3.prototype,n3),e3}();function er(e3,t3){var n3=Vt(e3);if(!t3.has(n3)){if(t3.add(n3),lt(n3))for(var r3=0,i2=n3.getTypes();r3<i2.length;r3++)er(i2[r3],t3);else if(at(n3)||ut(n3)){for(var o2=0,a2=n3.getInterfaces();o2<a2.length;o2++)er(a2[o2],t3);for(var s2=0,u2=Te(n3.getFields());s2<u2.length;s2++){var c2=u2[s2];er(c2.type,t3);for(var l2=0,f2=c2.args;l2<f2.length;l2++)er(f2[l2].type,t3)}}else if(ht(n3))for(var p2=0,d2=Te(n3.getFields());p2<d2.length;p2++)er(d2[p2].type,t3)}return t3}function tr(e3){if(Xn(e3),e3.__validationErrors)return e3.__validationErrors;var t3=new rr(e3);(function(e4){var t4=e4.schema,n4=t4.getQueryType();if(n4){if(!at(n4)){var r3;e4.reportError("Query root type must be Object type, it cannot be ".concat(B(n4),"."),(r3=ir(t4,"query"))!==null&&r3!==void 0?r3:n4.astNode)}}else e4.reportError("Query root type must be provided.",t4.astNode);var i2,o2=t4.getMutationType();o2&&!at(o2)&&e4.reportError("Mutation root type must be Object type if provided, it cannot be "+"".concat(B(o2),"."),(i2=ir(t4,"mutation"))!==null&&i2!==void 0?i2:o2.astNode);var a2,s2=t4.getSubscriptionType();s2&&!at(s2)&&e4.reportError("Subscription root type must be Object type if provided, it cannot be "+"".concat(B(s2),"."),(a2=ir(t4,"subscription"))!==null&&a2!==void 0?a2:s2.astNode)})(t3),function(e4){for(var t4=0,n4=e4.schema.getDirectives();t4<n4.length;t4++){var r3=n4[t4];if(Un(r3)){or(e4,r3);for(var i2=0,o2=r3.args;i2<o2.length;i2++){var a2,s2=o2[i2];or(e4,s2),_t(s2.type)||e4.reportError("The type of @".concat(r3.name,"(").concat(s2.name,":) must be Input Type ")+"but got: ".concat(B(s2.type),"."),s2.astNode),Jt(s2)&&s2.deprecationReason!=null&&e4.reportError("Required argument @".concat(r3.name,"(").concat(s2.name,":) cannot be deprecated."),[yr(s2.astNode),(a2=s2.astNode)===null||a2===void 0?void 0:a2.type])}}else e4.reportError("Expected directive but got: ".concat(B(r3),"."),r3?.astNode)}}(t3),function(e4){for(var t4=function(e5){var t5=Object.create(null),n5=[],r4=Object.create(null);return function i3(o3){if(!t5[o3.name]){t5[o3.name]=!0,r4[o3.name]=n5.length;for(var a2=Te(o3.getFields()),s2=0;s2<a2.length;s2++){var u2=a2[s2];if(gt(u2.type)&&ht(u2.type.ofType)){var c2=u2.type.ofType,l2=r4[c2.name];if(n5.push(u2),l2===void 0)i3(c2);else{var f2=n5.slice(l2),p2=f2.map(function(e6){return e6.name}).join(".");e5.reportError('Cannot reference Input Object "'.concat(c2.name,'" within itself through a series of non-null fields: "').concat(p2,'".'),f2.map(function(e6){return e6.astNode}))}n5.pop()}}r4[o3.name]=void 0}}}(e4),n4=e4.schema.getTypeMap(),r3=0,i2=Te(n4);r3<i2.length;r3++){var o2=i2[r3];Ct(o2)?(Fn(o2)||or(e4,o2),at(o2)||ut(o2)?(ar(e4,o2),sr(e4,o2)):lt(o2)?lr(e4,o2):pt(o2)?fr(e4,o2):ht(o2)&&(pr(e4,o2),t4(o2))):e4.reportError("Expected GraphQL named type but got: ".concat(B(o2),"."),o2.astNode)}}(t3);var n3=t3.getErrors();return e3.__validationErrors=n3,n3}function nr(e3){var t3=tr(e3);if(t3.length!==0)throw new Error(t3.map(function(e4){return e4.message}).join(`
|
82
|
-
|
83
|
-
`))}var rr=function(){function e3(e4){this._errors=[],this.schema=e4}var t3=e3.prototype;return t3.reportError=function(e4,t4){var n3=Array.isArray(t4)?t4.filter(Boolean):t4;this.addError(new S(e4,n3))},t3.addError=function(e4){this._errors.push(e4)},t3.getErrors=function(){return this._errors},e3}();function ir(e3,t3){for(var n3=hr(e3,function(e4){return e4.operationTypes}),r3=0;r3<n3.length;r3++){var i2=n3[r3];if(i2.operation===t3)return i2.type}}function or(e3,t3){var n3=xe(t3.name);n3&&e3.addError(Ne(n3,t3.astNode))}function ar(e3,t3){var n3=Te(t3.getFields());n3.length===0&&e3.reportError("Type ".concat(t3.name," must define one or more fields."),dr(t3));for(var r3=0;r3<n3.length;r3++){var i2,o2=n3[r3];or(e3,o2),wt(o2.type)||e3.reportError("The type of ".concat(t3.name,".").concat(o2.name," must be Output Type ")+"but got: ".concat(B(o2.type),"."),(i2=o2.astNode)===null||i2===void 0?void 0:i2.type);for(var a2=0,s2=o2.args;a2<s2.length;a2++){var u2,c2,l2=s2[a2],f2=l2.name;or(e3,l2),_t(l2.type)||e3.reportError("The type of ".concat(t3.name,".").concat(o2.name,"(").concat(f2,":) must be Input ")+"Type but got: ".concat(B(l2.type),"."),(u2=l2.astNode)===null||u2===void 0?void 0:u2.type),Jt(l2)&&l2.deprecationReason!=null&&e3.reportError("Required argument ".concat(t3.name,".").concat(o2.name,"(").concat(f2,":) cannot be deprecated."),[yr(l2.astNode),(c2=l2.astNode)===null||c2===void 0?void 0:c2.type])}}}function sr(e3,t3){for(var n3=Object.create(null),r3=0,i2=t3.getInterfaces();r3<i2.length;r3++){var o2=i2[r3];ut(o2)?t3!==o2?n3[o2.name]?e3.reportError("Type ".concat(t3.name," can only implement ").concat(o2.name," once."),vr(t3,o2)):(n3[o2.name]=!0,cr(e3,t3,o2),ur(e3,t3,o2)):e3.reportError("Type ".concat(t3.name," cannot implement itself because it would create a circular reference."),vr(t3,o2)):e3.reportError("Type ".concat(B(t3)," must only implement Interface types, ")+"it cannot implement ".concat(B(o2),"."),vr(t3,o2))}}function ur(e3,t3,n3){for(var r3=t3.getFields(),i2=0,o2=Te(n3.getFields());i2<o2.length;i2++){var a2=o2[i2],s2=a2.name,u2=r3[s2];if(u2){var c2,l2;an(e3.schema,u2.type,a2.type)||e3.reportError("Interface field ".concat(n3.name,".").concat(s2," expects type ")+"".concat(B(a2.type)," but ").concat(t3.name,".").concat(s2," ")+"is type ".concat(B(u2.type),"."),[(c2=a2.astNode)===null||c2===void 0?void 0:c2.type,(l2=u2.astNode)===null||l2===void 0?void 0:l2.type]);for(var f2=function(r4,i3){var o3,a3,c3=i3[r4],l3=c3.name,f3=Oe(u2.args,function(e4){return e4.name===l3});if(!f3)return e3.reportError("Interface field argument ".concat(n3.name,".").concat(s2,"(").concat(l3,":) expected but ").concat(t3.name,".").concat(s2," does not provide it."),[c3.astNode,u2.astNode]),"continue";on(c3.type,f3.type)||e3.reportError("Interface field argument ".concat(n3.name,".").concat(s2,"(").concat(l3,":) ")+"expects type ".concat(B(c3.type)," but ")+"".concat(t3.name,".").concat(s2,"(").concat(l3,":) is type ")+"".concat(B(f3.type),"."),[(o3=c3.astNode)===null||o3===void 0?void 0:o3.type,(a3=f3.astNode)===null||a3===void 0?void 0:a3.type])},p2=0,d2=a2.args;p2<d2.length;p2++)f2(p2,d2);for(var h2=function(r4,i3){var o3=i3[r4],u3=o3.name;!Oe(a2.args,function(e4){return e4.name===u3})&&Jt(o3)&&e3.reportError("Object field ".concat(t3.name,".").concat(s2," includes required argument ").concat(u3," that is missing from the Interface field ").concat(n3.name,".").concat(s2,"."),[o3.astNode,a2.astNode])},v2=0,m2=u2.args;v2<m2.length;v2++)h2(v2,m2)}else e3.reportError("Interface field ".concat(n3.name,".").concat(s2," expected but ").concat(t3.name," does not provide it."),[a2.astNode].concat(dr(t3)))}}function cr(e3,t3,n3){for(var r3=t3.getInterfaces(),i2=0,o2=n3.getInterfaces();i2<o2.length;i2++){var a2=o2[i2];r3.indexOf(a2)===-1&&e3.reportError(a2===t3?"Type ".concat(t3.name," cannot implement ").concat(n3.name," because it would create a circular reference."):"Type ".concat(t3.name," must implement ").concat(a2.name," because it is implemented by ").concat(n3.name,"."),[].concat(vr(n3,a2),vr(t3,n3)))}}function lr(e3,t3){var n3=t3.getTypes();n3.length===0&&e3.reportError("Union type ".concat(t3.name," must define one or more member types."),dr(t3));for(var r3=Object.create(null),i2=0;i2<n3.length;i2++){var o2=n3[i2];r3[o2.name]?e3.reportError("Union type ".concat(t3.name," can only include type ").concat(o2.name," once."),mr(t3,o2.name)):(r3[o2.name]=!0,at(o2)||e3.reportError("Union type ".concat(t3.name," can only include Object types, ")+"it cannot include ".concat(B(o2),"."),mr(t3,String(o2))))}}function fr(e3,t3){var n3=t3.getValues();n3.length===0&&e3.reportError("Enum type ".concat(t3.name," must define one or more values."),dr(t3));for(var r3=0;r3<n3.length;r3++){var i2=n3[r3],o2=i2.name;or(e3,i2),o2!=="true"&&o2!=="false"&&o2!=="null"||e3.reportError("Enum type ".concat(t3.name," cannot include value: ").concat(o2,"."),i2.astNode)}}function pr(e3,t3){var n3=Te(t3.getFields());n3.length===0&&e3.reportError("Input Object type ".concat(t3.name," must define one or more fields."),dr(t3));for(var r3=0;r3<n3.length;r3++){var i2,o2,a2=n3[r3];or(e3,a2),_t(a2.type)||e3.reportError("The type of ".concat(t3.name,".").concat(a2.name," must be Input Type ")+"but got: ".concat(B(a2.type),"."),(i2=a2.astNode)===null||i2===void 0?void 0:i2.type),rn(a2)&&a2.deprecationReason!=null&&e3.reportError("Required input field ".concat(t3.name,".").concat(a2.name," cannot be deprecated."),[yr(a2.astNode),(o2=a2.astNode)===null||o2===void 0?void 0:o2.type])}}function dr(e3){var t3=e3.astNode,n3=e3.extensionASTNodes;return t3?n3?[t3].concat(n3):[t3]:n3??[]}function hr(e3,t3){for(var n3=[],r3=0,i2=dr(e3);r3<i2.length;r3++){var o2,a2=i2[r3];n3=n3.concat((o2=t3(a2))!==null&&o2!==void 0?o2:[])}return n3}function vr(e3,t3){return hr(e3,function(e4){return e4.interfaces}).filter(function(e4){return e4.name.value===t3.name})}function mr(e3,t3){return hr(e3,function(e4){return e4.types}).filter(function(e4){return e4.name.value===t3})}function yr(e3){var t3;return e3==null||(t3=e3.directives)===null||t3===void 0?void 0:t3.find(function(e4){return e4.name.value===Wn.name})}function gr(e3,t3){var n3;return t3.kind===R.LIST_TYPE?(n3=gr(e3,t3.type))&&new jt(n3):t3.kind===R.NON_NULL_TYPE?(n3=gr(e3,t3.type))&&new Rt(n3):t3.kind===R.NAMED_TYPE?e3.getType(t3.name.value):void P(0,"Unexpected type node: "+B(t3))}var br=function(){function e3(e4,t4,n3){this._schema=e4,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=t4??_r,n3&&(_t(n3)&&this._inputTypeStack.push(n3),It(n3)&&this._parentTypeStack.push(n3),wt(n3)&&this._typeStack.push(n3))}var t3=e3.prototype;return t3.getType=function(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]},t3.getParentType=function(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]},t3.getInputType=function(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]},t3.getParentInputType=function(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]},t3.getFieldDef=function(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]},t3.getDefaultValue=function(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]},t3.getDirective=function(){return this._directive},t3.getArgument=function(){return this._argument},t3.getEnumValue=function(){return this._enumValue},t3.enter=function(e4){var t4=this._schema;switch(e4.kind){case R.SELECTION_SET:var n3=Vt(this.getType());this._parentTypeStack.push(It(n3)?n3:void 0);break;case R.FIELD:var r3,i2,o2=this.getParentType();o2&&(r3=this._getFieldDef(t4,o2,e4))&&(i2=r3.type),this._fieldDefStack.push(r3),this._typeStack.push(wt(i2)?i2:void 0);break;case R.DIRECTIVE:this._directive=t4.getDirective(e4.name.value);break;case R.OPERATION_DEFINITION:var a2;switch(e4.operation){case"query":a2=t4.getQueryType();break;case"mutation":a2=t4.getMutationType();break;case"subscription":a2=t4.getSubscriptionType()}this._typeStack.push(at(a2)?a2:void 0);break;case R.INLINE_FRAGMENT:case R.FRAGMENT_DEFINITION:var s2=e4.typeCondition,u2=s2?gr(t4,s2):Vt(this.getType());this._typeStack.push(wt(u2)?u2:void 0);break;case R.VARIABLE_DEFINITION:var c2=gr(t4,e4.type);this._inputTypeStack.push(_t(c2)?c2:void 0);break;case R.ARGUMENT:var l2,f2,p2,d2=(l2=this.getDirective())!==null&&l2!==void 0?l2:this.getFieldDef();d2&&(f2=Oe(d2.args,function(t5){return t5.name===e4.name.value}))&&(p2=f2.type),this._argument=f2,this._defaultValueStack.push(f2?f2.defaultValue:void 0),this._inputTypeStack.push(_t(p2)?p2:void 0);break;case R.LIST:var h2=Lt(this.getInputType()),v2=mt(h2)?h2.ofType:h2;this._defaultValueStack.push(void 0),this._inputTypeStack.push(_t(v2)?v2:void 0);break;case R.OBJECT_FIELD:var m2,y2,g2=Vt(this.getInputType());ht(g2)&&(y2=g2.getFields()[e4.name.value])&&(m2=y2.type),this._defaultValueStack.push(y2?y2.defaultValue:void 0),this._inputTypeStack.push(_t(m2)?m2:void 0);break;case R.ENUM:var b2,_2=Vt(this.getInputType());pt(_2)&&(b2=_2.getValue(e4.value)),this._enumValue=b2}},t3.leave=function(e4){switch(e4.kind){case R.SELECTION_SET:this._parentTypeStack.pop();break;case R.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case R.DIRECTIVE:this._directive=null;break;case R.OPERATION_DEFINITION:case R.INLINE_FRAGMENT:case R.FRAGMENT_DEFINITION:this._typeStack.pop();break;case R.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case R.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case R.LIST:case R.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case R.ENUM:this._enumValue=null}},e3}();function _r(e3,t3,n3){var r3=n3.name.value;return r3===kn.name&&e3.getQueryType()===t3?kn:r3===Mn.name&&e3.getQueryType()===t3?Mn:r3===Ln.name&&It(t3)?Ln:at(t3)||ut(t3)?t3.getFields()[r3]:void 0}function Er(e3,t3){return{enter:function(n3){e3.enter(n3);var r3=we(t3,n3.kind,!1);if(r3){var i2=r3.apply(t3,arguments);return i2!==void 0&&(e3.leave(n3),C(i2)&&e3.enter(i2)),i2}},leave:function(n3){var r3,i2=we(t3,n3.kind,!0);return i2&&(r3=i2.apply(t3,arguments)),e3.leave(n3),r3}}}function wr(e3){return Or(e3)||Sr(e3)||Ar(e3)}function Or(e3){return e3.kind===R.OPERATION_DEFINITION||e3.kind===R.FRAGMENT_DEFINITION}function Tr(e3){return e3.kind===R.FIELD||e3.kind===R.FRAGMENT_SPREAD||e3.kind===R.INLINE_FRAGMENT}function Nr(e3){return e3.kind===R.VARIABLE||e3.kind===R.INT||e3.kind===R.FLOAT||e3.kind===R.STRING||e3.kind===R.BOOLEAN||e3.kind===R.NULL||e3.kind===R.ENUM||e3.kind===R.LIST||e3.kind===R.OBJECT}function Ir(e3){return e3.kind===R.NAMED_TYPE||e3.kind===R.LIST_TYPE||e3.kind===R.NON_NULL_TYPE}function Sr(e3){return e3.kind===R.SCHEMA_DEFINITION||xr(e3)||e3.kind===R.DIRECTIVE_DEFINITION}function xr(e3){return e3.kind===R.SCALAR_TYPE_DEFINITION||e3.kind===R.OBJECT_TYPE_DEFINITION||e3.kind===R.INTERFACE_TYPE_DEFINITION||e3.kind===R.UNION_TYPE_DEFINITION||e3.kind===R.ENUM_TYPE_DEFINITION||e3.kind===R.INPUT_OBJECT_TYPE_DEFINITION}function Ar(e3){return e3.kind===R.SCHEMA_EXTENSION||jr(e3)}function jr(e3){return e3.kind===R.SCALAR_TYPE_EXTENSION||e3.kind===R.OBJECT_TYPE_EXTENSION||e3.kind===R.INTERFACE_TYPE_EXTENSION||e3.kind===R.UNION_TYPE_EXTENSION||e3.kind===R.ENUM_TYPE_EXTENSION||e3.kind===R.INPUT_OBJECT_TYPE_EXTENSION}function Rr(e3){return{Document:function(t3){for(var n3=0,r3=t3.definitions;n3<r3.length;n3++){var i2=r3[n3];if(!Or(i2)){var o2=i2.kind===R.SCHEMA_DEFINITION||i2.kind===R.SCHEMA_EXTENSION?"schema":'"'+i2.name.value+'"';e3.reportError(new S("The ".concat(o2," definition is not executable."),i2))}}return!1}}}function Pr(e3){var t3=Object.create(null);return{OperationDefinition:function(n3){var r3=n3.name;return r3&&(t3[r3.value]?e3.reportError(new S('There can be only one operation named "'.concat(r3.value,'".'),[t3[r3.value],r3])):t3[r3.value]=r3),!1},FragmentDefinition:function(){return!1}}}function Dr(e3){var t3=0;return{Document:function(e4){t3=e4.definitions.filter(function(e5){return e5.kind===R.OPERATION_DEFINITION}).length},OperationDefinition:function(n3){!n3.name&&t3>1&&e3.reportError(new S("This anonymous operation must be the only defined operation.",n3))}}}function kr(e3){return{OperationDefinition:function(t3){t3.operation==="subscription"&&t3.selectionSet.selections.length!==1&&e3.reportError(new S(t3.name?'Subscription "'.concat(t3.name.value,'" must select only one top level field.'):"Anonymous Subscription must select only one top level field.",t3.selectionSet.selections.slice(1)))}}}function Mr(e3){for(var t3=e3.getSchema(),n3=t3?t3.getTypeMap():Object.create(null),r3=Object.create(null),i2=0,o2=e3.getDocument().definitions;i2<o2.length;i2++){var a2=o2[i2];xr(a2)&&(r3[a2.name.value]=!0)}var s2=Object.keys(n3).concat(Object.keys(r3));return{NamedType:function(t4,i3,o3,a3,u2){var c2=t4.name.value;if(!n3[c2]&&!r3[c2]){var l2,f2=(l2=u2[2])!==null&&l2!==void 0?l2:o3,p2=f2!=null&&function(e4){return!Array.isArray(e4)&&(Sr(e4)||Ar(e4))}(f2);if(p2&&function(e4){return Lr.indexOf(e4)!==-1}(c2))return;var d2=$e(c2,p2?Lr.concat(s2):s2);e3.reportError(new S('Unknown type "'.concat(c2,'".')+Me(d2),t4))}}}}var Lr=[].concat(En,Cn).map(function(e3){return e3.name});function Cr(e3){return{InlineFragment:function(t3){var n3=t3.typeCondition;if(n3){var r3=gr(e3.getSchema(),n3);if(r3&&!It(r3)){var i2=Ge(n3);e3.reportError(new S('Fragment cannot condition on non composite type "'.concat(i2,'".'),n3))}}},FragmentDefinition:function(t3){var n3=gr(e3.getSchema(),t3.typeCondition);if(n3&&!It(n3)){var r3=Ge(t3.typeCondition);e3.reportError(new S('Fragment "'.concat(t3.name.value,'" cannot condition on non composite type "').concat(r3,'".'),t3.typeCondition))}}}}function Fr(e3){return{VariableDefinition:function(t3){var n3=gr(e3.getSchema(),t3.type);if(n3&&!_t(n3)){var r3=t3.variable.name.value,i2=Ge(t3.type);e3.reportError(new S('Variable "$'.concat(r3,'" cannot be non-input type "').concat(i2,'".'),t3.type))}}}}function Vr(e3){return{Field:function(t3){var n3=e3.getType(),r3=t3.selectionSet;if(n3){if(Tt(Vt(n3))){if(r3){var i2=t3.name.value,o2=B(n3);e3.reportError(new S('Field "'.concat(i2,'" must not have a selection since type "').concat(o2,'" has no subfields.'),r3))}}else if(!r3){var a2=t3.name.value,s2=B(n3);e3.reportError(new S('Field "'.concat(a2,'" of type "').concat(s2,'" must have a selection of subfields. Did you mean "').concat(a2,' { ... }"?'),t3))}}}}}function Ur(e3){return{Field:function(t3){var n3=e3.getParentType();if(n3&&!e3.getFieldDef()){var r3=e3.getSchema(),i2=t3.name.value,o2=Me("to use an inline fragment on",function(e4,t4,n4){if(!xt(t4))return[];for(var r4=new Set,i3=Object.create(null),o3=0,a2=e4.getPossibleTypes(t4);o3<a2.length;o3++){var s2=a2[o3];if(s2.getFields()[n4]){r4.add(s2),i3[s2.name]=1;for(var u2=0,c2=s2.getInterfaces();u2<c2.length;u2++){var l2,f2=c2[u2];f2.getFields()[n4]&&(r4.add(f2),i3[f2.name]=((l2=i3[f2.name])!==null&&l2!==void 0?l2:0)+1)}}}return un(r4).sort(function(t5,n5){var r5=i3[n5.name]-i3[t5.name];return r5!==0?r5:ut(t5)&&e4.isSubType(t5,n5)?-1:ut(n5)&&e4.isSubType(n5,t5)?1:Ce(t5.name,n5.name)}).map(function(e5){return e5.name})}(r3,n3,i2));o2===""&&(o2=Me(function(e4,t4){return at(e4)||ut(e4)?$e(t4,Object.keys(e4.getFields())):[]}(n3,i2))),e3.reportError(new S('Cannot query field "'.concat(i2,'" on type "').concat(n3.name,'".')+o2,t3))}}}}function $r(e3){var t3=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(n3){var r3=n3.name.value;return t3[r3]?e3.reportError(new S('There can be only one fragment named "'.concat(r3,'".'),[t3[r3],n3.name])):t3[r3]=n3.name,!1}}}function Br(e3){return{FragmentSpread:function(t3){var n3=t3.name.value;e3.getFragment(n3)||e3.reportError(new S('Unknown fragment "'.concat(n3,'".'),t3.name))}}}function Hr(e3){var t3=[],n3=[];return{OperationDefinition:function(e4){return t3.push(e4),!1},FragmentDefinition:function(e4){return n3.push(e4),!1},Document:{leave:function(){for(var r3=Object.create(null),i2=0;i2<t3.length;i2++)for(var o2=t3[i2],a2=0,s2=e3.getRecursivelyReferencedFragments(o2);a2<s2.length;a2++)r3[s2[a2].name.value]=!0;for(var u2=0;u2<n3.length;u2++){var c2=n3[u2],l2=c2.name.value;r3[l2]!==!0&&e3.reportError(new S('Fragment "'.concat(l2,'" is never used.'),c2))}}}}}function Gr(e3){return{InlineFragment:function(t3){var n3=e3.getType(),r3=e3.getParentType();if(It(n3)&&It(r3)&&!sn(e3.getSchema(),n3,r3)){var i2=B(r3),o2=B(n3);e3.reportError(new S('Fragment cannot be spread here as objects of type "'.concat(i2,'" can never be of type "').concat(o2,'".'),t3))}},FragmentSpread:function(t3){var n3=t3.name.value,r3=function(e4,t4){var n4=e4.getFragment(t4);if(n4){var r4=gr(e4.getSchema(),n4.typeCondition);if(It(r4))return r4}}(e3,n3),i2=e3.getParentType();if(r3&&i2&&!sn(e3.getSchema(),r3,i2)){var o2=B(i2),a2=B(r3);e3.reportError(new S('Fragment "'.concat(n3,'" cannot be spread here as objects of type "').concat(o2,'" can never be of type "').concat(a2,'".'),t3))}}}}function qr(e3){var t3=Object.create(null),n3=[],r3=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(e4){return i2(e4),!1}};function i2(o2){if(!t3[o2.name.value]){var a2=o2.name.value;t3[a2]=!0;var s2=e3.getFragmentSpreads(o2.selectionSet);if(s2.length!==0){r3[a2]=n3.length;for(var u2=0;u2<s2.length;u2++){var c2=s2[u2],l2=c2.name.value,f2=r3[l2];if(n3.push(c2),f2===void 0){var p2=e3.getFragment(l2);p2&&i2(p2)}else{var d2=n3.slice(f2),h2=d2.slice(0,-1).map(function(e4){return'"'+e4.name.value+'"'}).join(", ");e3.reportError(new S('Cannot spread fragment "'.concat(l2,'" within itself')+(h2!==""?" via ".concat(h2,"."):"."),d2))}n3.pop()}r3[a2]=void 0}}}}function Wr(e3){var t3=Object.create(null);return{OperationDefinition:function(){t3=Object.create(null)},VariableDefinition:function(n3){var r3=n3.variable.name.value;t3[r3]?e3.reportError(new S('There can be only one variable named "$'.concat(r3,'".'),[t3[r3],n3.variable.name])):t3[r3]=n3.variable.name}}}function zr(e3){var t3=Object.create(null);return{OperationDefinition:{enter:function(){t3=Object.create(null)},leave:function(n3){for(var r3=e3.getRecursiveVariableUsages(n3),i2=0;i2<r3.length;i2++){var o2=r3[i2].node,a2=o2.name.value;t3[a2]!==!0&&e3.reportError(new S(n3.name?'Variable "$'.concat(a2,'" is not defined by operation "').concat(n3.name.value,'".'):'Variable "$'.concat(a2,'" is not defined.'),[o2,n3]))}}},VariableDefinition:function(e4){t3[e4.variable.name.value]=!0}}}function Yr(e3){var t3=[];return{OperationDefinition:{enter:function(){t3=[]},leave:function(n3){for(var r3=Object.create(null),i2=e3.getRecursiveVariableUsages(n3),o2=0;o2<i2.length;o2++)r3[i2[o2].node.name.value]=!0;for(var a2=0,s2=t3;a2<s2.length;a2++){var u2=s2[a2],c2=u2.variable.name.value;r3[c2]!==!0&&e3.reportError(new S(n3.name?'Variable "$'.concat(c2,'" is never used in operation "').concat(n3.name.value,'".'):'Variable "$'.concat(c2,'" is never used.'),u2))}}},VariableDefinition:function(e4){t3.push(e4)}}}function Jr(e3){for(var t3=Object.create(null),n3=e3.getSchema(),r3=n3?n3.getDirectives():Yn,i2=0;i2<r3.length;i2++){var o2=r3[i2];t3[o2.name]=o2.locations}for(var a2=e3.getDocument().definitions,s2=0;s2<a2.length;s2++){var u2=a2[s2];u2.kind===R.DIRECTIVE_DEFINITION&&(t3[u2.name.value]=u2.locations.map(function(e4){return e4.value}))}return{Directive:function(n4,r4,i3,o3,a3){var s3=n4.name.value,u3=t3[s3];if(u3){var c2=function(e4){var t4=e4[e4.length-1];switch(!Array.isArray(t4)||P(0),t4.kind){case R.OPERATION_DEFINITION:return function(e5){switch(e5){case"query":return J.QUERY;case"mutation":return J.MUTATION;case"subscription":return J.SUBSCRIPTION}P(0,"Unexpected operation: "+B(e5))}(t4.operation);case R.FIELD:return J.FIELD;case R.FRAGMENT_SPREAD:return J.FRAGMENT_SPREAD;case R.INLINE_FRAGMENT:return J.INLINE_FRAGMENT;case R.FRAGMENT_DEFINITION:return J.FRAGMENT_DEFINITION;case R.VARIABLE_DEFINITION:return J.VARIABLE_DEFINITION;case R.SCHEMA_DEFINITION:case R.SCHEMA_EXTENSION:return J.SCHEMA;case R.SCALAR_TYPE_DEFINITION:case R.SCALAR_TYPE_EXTENSION:return J.SCALAR;case R.OBJECT_TYPE_DEFINITION:case R.OBJECT_TYPE_EXTENSION:return J.OBJECT;case R.FIELD_DEFINITION:return J.FIELD_DEFINITION;case R.INTERFACE_TYPE_DEFINITION:case R.INTERFACE_TYPE_EXTENSION:return J.INTERFACE;case R.UNION_TYPE_DEFINITION:case R.UNION_TYPE_EXTENSION:return J.UNION;case R.ENUM_TYPE_DEFINITION:case R.ENUM_TYPE_EXTENSION:return J.ENUM;case R.ENUM_VALUE_DEFINITION:return J.ENUM_VALUE;case R.INPUT_OBJECT_TYPE_DEFINITION:case R.INPUT_OBJECT_TYPE_EXTENSION:return J.INPUT_OBJECT;case R.INPUT_VALUE_DEFINITION:return e4[e4.length-3].kind===R.INPUT_OBJECT_TYPE_DEFINITION?J.INPUT_FIELD_DEFINITION:J.ARGUMENT_DEFINITION}}(a3);c2&&u3.indexOf(c2)===-1&&e3.reportError(new S('Directive "@'.concat(s3,'" may not be used on ').concat(c2,"."),n4))}else e3.reportError(new S('Unknown directive "@'.concat(s3,'".'),n4))}}}function Qr(e3){for(var t3=Object.create(null),n3=e3.getSchema(),r3=n3?n3.getDirectives():Yn,i2=0;i2<r3.length;i2++){var o2=r3[i2];t3[o2.name]=!o2.isRepeatable}for(var a2=e3.getDocument().definitions,s2=0;s2<a2.length;s2++){var u2=a2[s2];u2.kind===R.DIRECTIVE_DEFINITION&&(t3[u2.name.value]=!u2.repeatable)}var c2=Object.create(null),l2=Object.create(null);return{enter:function(n4){if(n4.directives!=null){var r4;if(n4.kind===R.SCHEMA_DEFINITION||n4.kind===R.SCHEMA_EXTENSION)r4=c2;else if(xr(n4)||jr(n4)){var i3=n4.name.value;(r4=l2[i3])===void 0&&(l2[i3]=r4=Object.create(null))}else r4=Object.create(null);for(var o3=0,a3=n4.directives;o3<a3.length;o3++){var s3=a3[o3],u3=s3.name.value;t3[u3]&&(r4[u3]?e3.reportError(new S('The directive "@'.concat(u3,'" can only be used once at this location.'),[r4[u3],s3])):r4[u3]=s3)}}}}}function Kr(e3,t3){var n3=Object.keys(e3);if(Object.getOwnPropertySymbols){var r3=Object.getOwnPropertySymbols(e3);t3&&(r3=r3.filter(function(t4){return Object.getOwnPropertyDescriptor(e3,t4).enumerable})),n3.push.apply(n3,r3)}return n3}function Xr(e3){for(var t3=1;t3<arguments.length;t3++){var n3=arguments[t3]!=null?arguments[t3]:{};t3%2?Kr(Object(n3),!0).forEach(function(t4){Zr(e3,t4,n3[t4])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e3,Object.getOwnPropertyDescriptors(n3)):Kr(Object(n3)).forEach(function(t4){Object.defineProperty(e3,t4,Object.getOwnPropertyDescriptor(n3,t4))})}return e3}function Zr(e3,t3,n3){return t3 in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}function ei(e3){return Xr(Xr({},ti(e3)),{},{Argument:function(t3){var n3=e3.getArgument(),r3=e3.getFieldDef(),i2=e3.getParentType();if(!n3&&r3&&i2){var o2=t3.name.value,a2=$e(o2,r3.args.map(function(e4){return e4.name}));e3.reportError(new S('Unknown argument "'.concat(o2,'" on field "').concat(i2.name,".").concat(r3.name,'".')+Me(a2),t3))}}})}function ti(e3){for(var t3=Object.create(null),n3=e3.getSchema(),r3=n3?n3.getDirectives():Yn,i2=0;i2<r3.length;i2++){var o2=r3[i2];t3[o2.name]=o2.args.map(function(e4){return e4.name})}for(var a2=e3.getDocument().definitions,s2=0;s2<a2.length;s2++){var u2=a2[s2];if(u2.kind===R.DIRECTIVE_DEFINITION){var c2,l2=(c2=u2.arguments)!==null&&c2!==void 0?c2:[];t3[u2.name.value]=l2.map(function(e4){return e4.name.value})}}return{Directive:function(n4){var r4=n4.name.value,i3=t3[r4];if(n4.arguments&&i3)for(var o3=0,a3=n4.arguments;o3<a3.length;o3++){var s3=a3[o3],u3=s3.name.value;if(i3.indexOf(u3)===-1){var c3=$e(u3,i3);e3.reportError(new S('Unknown argument "'.concat(u3,'" on directive "@').concat(r4,'".')+Me(c3),s3))}}return!1}}}function ni(e3){var t3=Object.create(null);return{Field:function(){t3=Object.create(null)},Directive:function(){t3=Object.create(null)},Argument:function(n3){var r3=n3.name.value;return t3[r3]?e3.reportError(new S('There can be only one argument named "'.concat(r3,'".'),[t3[r3],n3.name])):t3[r3]=n3.name,!1}}}function ri(e3){return{ListValue:function(t3){if(!mt(Lt(e3.getParentInputType())))return ii(e3,t3),!1},ObjectValue:function(t3){var n3=Vt(e3.getInputType());if(!ht(n3))return ii(e3,t3),!1;for(var r3=je(t3.fields,function(e4){return e4.name.value}),i2=0,o2=Te(n3.getFields());i2<o2.length;i2++){var a2=o2[i2];if(!r3[a2.name]&&rn(a2)){var s2=B(a2.type);e3.reportError(new S('Field "'.concat(n3.name,".").concat(a2.name,'" of required type "').concat(s2,'" was not provided.'),t3))}}},ObjectField:function(t3){var n3=Vt(e3.getParentInputType());if(!e3.getInputType()&&ht(n3)){var r3=$e(t3.name.value,Object.keys(n3.getFields()));e3.reportError(new S('Field "'.concat(t3.name.value,'" is not defined by type "').concat(n3.name,'".')+Me(r3),t3))}},NullValue:function(t3){var n3=e3.getInputType();gt(n3)&&e3.reportError(new S('Expected value of type "'.concat(B(n3),'", found ').concat(Ge(t3),"."),t3))},EnumValue:function(t3){return ii(e3,t3)},IntValue:function(t3){return ii(e3,t3)},FloatValue:function(t3){return ii(e3,t3)},StringValue:function(t3){return ii(e3,t3)},BooleanValue:function(t3){return ii(e3,t3)}}}function ii(e3,t3){var n3=e3.getInputType();if(n3){var r3=Vt(n3);if(Tt(r3))try{if(r3.parseLiteral(t3,void 0)===void 0){var i2=B(n3);e3.reportError(new S('Expected value of type "'.concat(i2,'", found ').concat(Ge(t3),"."),t3))}}catch(r4){var o2=B(n3);r4 instanceof S?e3.reportError(r4):e3.reportError(new S('Expected value of type "'.concat(o2,'", found ').concat(Ge(t3),"; ")+r4.message,t3,void 0,void 0,void 0,r4))}else{var a2=B(n3);e3.reportError(new S('Expected value of type "'.concat(a2,'", found ').concat(Ge(t3),"."),t3))}}}function oi(e3,t3){var n3=Object.keys(e3);if(Object.getOwnPropertySymbols){var r3=Object.getOwnPropertySymbols(e3);t3&&(r3=r3.filter(function(t4){return Object.getOwnPropertyDescriptor(e3,t4).enumerable})),n3.push.apply(n3,r3)}return n3}function ai(e3){for(var t3=1;t3<arguments.length;t3++){var n3=arguments[t3]!=null?arguments[t3]:{};t3%2?oi(Object(n3),!0).forEach(function(t4){si(e3,t4,n3[t4])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e3,Object.getOwnPropertyDescriptors(n3)):oi(Object(n3)).forEach(function(t4){Object.defineProperty(e3,t4,Object.getOwnPropertyDescriptor(n3,t4))})}return e3}function si(e3,t3,n3){return t3 in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}function ui(e3){return ai(ai({},ci(e3)),{},{Field:{leave:function(t3){var n3,r3=e3.getFieldDef();if(!r3)return!1;for(var i2=je((n3=t3.arguments)!==null&&n3!==void 0?n3:[],function(e4){return e4.name.value}),o2=0,a2=r3.args;o2<a2.length;o2++){var s2=a2[o2];if(!i2[s2.name]&&Jt(s2)){var u2=B(s2.type);e3.reportError(new S('Field "'.concat(r3.name,'" argument "').concat(s2.name,'" of type "').concat(u2,'" is required, but it was not provided.'),t3))}}}}})}function ci(e3){for(var t3=Object.create(null),n3=e3.getSchema(),r3=n3?n3.getDirectives():Yn,i2=0;i2<r3.length;i2++){var o2=r3[i2];t3[o2.name]=je(o2.args.filter(Jt),function(e4){return e4.name})}for(var a2=e3.getDocument().definitions,s2=0;s2<a2.length;s2++){var u2=a2[s2];if(u2.kind===R.DIRECTIVE_DEFINITION){var c2,l2=(c2=u2.arguments)!==null&&c2!==void 0?c2:[];t3[u2.name.value]=je(l2.filter(li),function(e4){return e4.name.value})}}return{Directive:{leave:function(n4){var r4=n4.name.value,i3=t3[r4];if(i3)for(var o3,a3=je((o3=n4.arguments)!==null&&o3!==void 0?o3:[],function(e4){return e4.name.value}),s3=0,u3=Object.keys(i3);s3<u3.length;s3++){var c3=u3[s3];if(!a3[c3]){var l3=i3[c3].type,f2=nt(l3)?B(l3):Ge(l3);e3.reportError(new S('Directive "@'.concat(r4,'" argument "').concat(c3,'" of type "').concat(f2,'" is required, but it was not provided.'),n4))}}}}}}function li(e3){return e3.type.kind===R.NON_NULL_TYPE&&e3.defaultValue==null}function fi(e3){var t3=Object.create(null);return{OperationDefinition:{enter:function(){t3=Object.create(null)},leave:function(n3){for(var r3=e3.getRecursiveVariableUsages(n3),i2=0;i2<r3.length;i2++){var o2=r3[i2],a2=o2.node,s2=o2.type,u2=o2.defaultValue,c2=a2.name.value,l2=t3[c2];if(l2&&s2){var f2=e3.getSchema(),p2=gr(f2,l2.type);if(p2&&!pi(f2,p2,l2.defaultValue,s2,u2)){var d2=B(p2),h2=B(s2);e3.reportError(new S('Variable "$'.concat(c2,'" of type "').concat(d2,'" used in position expecting type "').concat(h2,'".'),[l2,a2]))}}}}},VariableDefinition:function(e4){t3[e4.variable.name.value]=e4}}}function pi(e3,t3,n3,r3,i2){return gt(r3)&&!gt(t3)?(n3!=null&&n3.kind!==R.NULL||i2!==void 0)&&an(e3,t3,r3.ofType):an(e3,t3,r3)}function di(e3){return Array.isArray(e3)?e3.map(function(e4){var t3=e4[0],n3=e4[1];return'subfields "'.concat(t3,'" conflict because ')+di(n3)}).join(" and "):e3}function hi(e3){var t3=new Ti,n3=new Map;return{SelectionSet:function(r3){for(var i2=function(e4,t4,n4,r4,i3){var o3=[],a3=_i(e4,t4,r4,i3),s3=a3[0],u3=a3[1];if(function(e5,t5,n5,r5,i4){for(var o4=0,a4=Ae(i4);o4<a4.length;o4++){var s4=a4[o4],u4=s4[0],c4=s4[1];if(c4.length>1)for(var l4=0;l4<c4.length;l4++)for(var f3=l4+1;f3<c4.length;f3++){var p3=gi(e5,n5,r5,!1,u4,c4[l4],c4[f3]);p3&&t5.push(p3)}}}(e4,o3,t4,n4,s3),u3.length!==0)for(var c3=0;c3<u3.length;c3++){vi(e4,o3,t4,n4,!1,s3,u3[c3]);for(var l3=c3+1;l3<u3.length;l3++)mi(e4,o3,t4,n4,!1,u3[c3],u3[l3])}return o3}(e3,n3,t3,e3.getParentType(),r3),o2=0;o2<i2.length;o2++){var a2=i2[o2],s2=a2[0],u2=s2[0],c2=s2[1],l2=a2[1],f2=a2[2],p2=di(c2);e3.reportError(new S('Fields "'.concat(u2,'" conflict because ').concat(p2,". Use different aliases on the fields to fetch both if this was intentional."),l2.concat(f2)))}}}}function vi(e3,t3,n3,r3,i2,o2,a2){var s2=e3.getFragment(a2);if(s2){var u2=Ei(e3,n3,s2),c2=u2[0],l2=u2[1];if(o2!==c2){yi(e3,t3,n3,r3,i2,o2,c2);for(var f2=0;f2<l2.length;f2++)vi(e3,t3,n3,r3,i2,o2,l2[f2])}}}function mi(e3,t3,n3,r3,i2,o2,a2){if(o2!==a2&&!r3.has(o2,a2,i2)){r3.add(o2,a2,i2);var s2=e3.getFragment(o2),u2=e3.getFragment(a2);if(s2&&u2){var c2=Ei(e3,n3,s2),l2=c2[0],f2=c2[1],p2=Ei(e3,n3,u2),d2=p2[0],h2=p2[1];yi(e3,t3,n3,r3,i2,l2,d2);for(var v2=0;v2<h2.length;v2++)mi(e3,t3,n3,r3,i2,o2,h2[v2]);for(var m2=0;m2<f2.length;m2++)mi(e3,t3,n3,r3,i2,f2[m2],a2)}}}function yi(e3,t3,n3,r3,i2,o2,a2){for(var s2=0,u2=Object.keys(o2);s2<u2.length;s2++){var c2=u2[s2],l2=a2[c2];if(l2)for(var f2=o2[c2],p2=0;p2<f2.length;p2++)for(var d2=0;d2<l2.length;d2++){var h2=gi(e3,n3,r3,i2,c2,f2[p2],l2[d2]);h2&&t3.push(h2)}}}function gi(e3,t3,n3,r3,i2,o2,a2){var s2,u2,c2=o2[0],l2=o2[1],f2=o2[2],p2=a2[0],d2=a2[1],h2=a2[2],v2=r3||c2!==p2&&at(c2)&&at(p2);if(!v2){var m2,y2,g2=l2.name.value,b2=d2.name.value;if(g2!==b2)return[[i2,'"'.concat(g2,'" and "').concat(b2,'" are different fields')],[l2],[d2]];if(s2=(m2=l2.arguments)!==null&&m2!==void 0?m2:[],u2=(y2=d2.arguments)!==null&&y2!==void 0?y2:[],s2.length!==u2.length||!s2.every(function(e4){var t4,n4,r4=Oe(u2,function(t5){return t5.name.value===e4.name.value});return!!r4&&(t4=e4.value,n4=r4.value,Ge(t4)===Ge(n4))}))return[[i2,"they have differing arguments"],[l2],[d2]]}var _2=f2?.type,E2=h2?.type;if(_2&&E2&&bi(_2,E2))return[[i2,'they return conflicting types "'.concat(B(_2),'" and "').concat(B(E2),'"')],[l2],[d2]];var w2=l2.selectionSet,O2=d2.selectionSet;if(w2&&O2){var T2=function(e4,t4,n4,r4,i3,o3,a3,s3){var u3=[],c3=_i(e4,t4,i3,o3),l3=c3[0],f3=c3[1],p3=_i(e4,t4,a3,s3),d3=p3[0],h3=p3[1];if(yi(e4,u3,t4,n4,r4,l3,d3),h3.length!==0)for(var v3=0;v3<h3.length;v3++)vi(e4,u3,t4,n4,r4,l3,h3[v3]);if(f3.length!==0)for(var m3=0;m3<f3.length;m3++)vi(e4,u3,t4,n4,r4,d3,f3[m3]);for(var y3=0;y3<f3.length;y3++)for(var g3=0;g3<h3.length;g3++)mi(e4,u3,t4,n4,r4,f3[y3],h3[g3]);return u3}(e3,t3,n3,v2,Vt(_2),w2,Vt(E2),O2);return function(e4,t4,n4,r4){if(e4.length>0)return[[t4,e4.map(function(e5){return e5[0]})],e4.reduce(function(e5,t5){var n5=t5[1];return e5.concat(n5)},[n4]),e4.reduce(function(e5,t5){var n5=t5[2];return e5.concat(n5)},[r4])]}(T2,i2,l2,d2)}}function bi(e3,t3){return mt(e3)?!mt(t3)||bi(e3.ofType,t3.ofType):!!mt(t3)||(gt(e3)?!gt(t3)||bi(e3.ofType,t3.ofType):!!gt(t3)||!(!Tt(e3)&&!Tt(t3))&&e3!==t3)}function _i(e3,t3,n3,r3){var i2=t3.get(r3);if(!i2){var o2=Object.create(null),a2=Object.create(null);wi(e3,n3,r3,o2,a2),i2=[o2,Object.keys(a2)],t3.set(r3,i2)}return i2}function Ei(e3,t3,n3){var r3=t3.get(n3.selectionSet);if(r3)return r3;var i2=gr(e3.getSchema(),n3.typeCondition);return _i(e3,t3,i2,n3.selectionSet)}function wi(e3,t3,n3,r3,i2){for(var o2=0,a2=n3.selections;o2<a2.length;o2++){var s2=a2[o2];switch(s2.kind){case R.FIELD:var u2=s2.name.value,c2=void 0;(at(t3)||ut(t3))&&(c2=t3.getFields()[u2]);var l2=s2.alias?s2.alias.value:u2;r3[l2]||(r3[l2]=[]),r3[l2].push([t3,s2,c2]);break;case R.FRAGMENT_SPREAD:i2[s2.name.value]=!0;break;case R.INLINE_FRAGMENT:var f2=s2.typeCondition,p2=f2?gr(e3.getSchema(),f2):t3;wi(e3,p2,s2.selectionSet,r3,i2)}}}var Oi,Ti=function(){function e3(){this._data=Object.create(null)}var t3=e3.prototype;return t3.has=function(e4,t4,n3){var r3=this._data[e4],i2=r3&&r3[t4];return i2!==void 0&&(n3!==!1||i2===!1)},t3.add=function(e4,t4,n3){this._pairSetAdd(e4,t4,n3),this._pairSetAdd(t4,e4,n3)},t3._pairSetAdd=function(e4,t4,n3){var r3=this._data[e4];r3||(r3=Object.create(null),this._data[e4]=r3),r3[t4]=n3},e3}();function Ni(e3){var t3=[],n3=Object.create(null);return{ObjectValue:{enter:function(){t3.push(n3),n3=Object.create(null)},leave:function(){n3=t3.pop()}},ObjectField:function(t4){var r3=t4.name.value;n3[r3]?e3.reportError(new S('There can be only one input field named "'.concat(r3,'".'),[n3[r3],t4.name])):n3[r3]=t4.name}}}function Ii(e3){var t3,n3,r3,i2=e3.getSchema(),o2=(t3=(n3=(r3=i2?.astNode)!==null&&r3!==void 0?r3:i2?.getQueryType())!==null&&n3!==void 0?n3:i2?.getMutationType())!==null&&t3!==void 0?t3:i2?.getSubscriptionType(),a2=0;return{SchemaDefinition:function(t4){o2?e3.reportError(new S("Cannot define a new schema within a schema extension.",t4)):(a2>0&&e3.reportError(new S("Must provide only one schema definition.",t4)),++a2)}}}function Si(e3){var t3=e3.getSchema(),n3=Object.create(null),r3=t3?{query:t3.getQueryType(),mutation:t3.getMutationType(),subscription:t3.getSubscriptionType()}:{};return{SchemaDefinition:i2,SchemaExtension:i2};function i2(t4){for(var i3,o2=(i3=t4.operationTypes)!==null&&i3!==void 0?i3:[],a2=0;a2<o2.length;a2++){var s2=o2[a2],u2=s2.operation,c2=n3[u2];r3[u2]?e3.reportError(new S("Type for ".concat(u2," already defined in the schema. It cannot be redefined."),s2)):c2?e3.reportError(new S("There can be only one ".concat(u2," type in schema."),[c2,s2])):n3[u2]=s2}return!1}}function xi(e3){var t3=Object.create(null),n3=e3.getSchema();return{ScalarTypeDefinition:r3,ObjectTypeDefinition:r3,InterfaceTypeDefinition:r3,UnionTypeDefinition:r3,EnumTypeDefinition:r3,InputObjectTypeDefinition:r3};function r3(r4){var i2=r4.name.value;if(n3==null||!n3.getType(i2))return t3[i2]?e3.reportError(new S('There can be only one type named "'.concat(i2,'".'),[t3[i2],r4.name])):t3[i2]=r4.name,!1;e3.reportError(new S('Type "'.concat(i2,'" already exists in the schema. It cannot also be defined in this type definition.'),r4.name))}}function Ai(e3){var t3=e3.getSchema(),n3=t3?t3.getTypeMap():Object.create(null),r3=Object.create(null);return{EnumTypeDefinition:i2,EnumTypeExtension:i2};function i2(t4){var i3,o2=t4.name.value;r3[o2]||(r3[o2]=Object.create(null));for(var a2=(i3=t4.values)!==null&&i3!==void 0?i3:[],s2=r3[o2],u2=0;u2<a2.length;u2++){var c2=a2[u2],l2=c2.name.value,f2=n3[o2];pt(f2)&&f2.getValue(l2)?e3.reportError(new S('Enum value "'.concat(o2,".").concat(l2,'" already exists in the schema. It cannot also be defined in this type extension.'),c2.name)):s2[l2]?e3.reportError(new S('Enum value "'.concat(o2,".").concat(l2,'" can only be defined once.'),[s2[l2],c2.name])):s2[l2]=c2.name}return!1}}function ji(e3){var t3=e3.getSchema(),n3=t3?t3.getTypeMap():Object.create(null),r3=Object.create(null);return{InputObjectTypeDefinition:i2,InputObjectTypeExtension:i2,InterfaceTypeDefinition:i2,InterfaceTypeExtension:i2,ObjectTypeDefinition:i2,ObjectTypeExtension:i2};function i2(t4){var i3,o2=t4.name.value;r3[o2]||(r3[o2]=Object.create(null));for(var a2=(i3=t4.fields)!==null&&i3!==void 0?i3:[],s2=r3[o2],u2=0;u2<a2.length;u2++){var c2=a2[u2],l2=c2.name.value;Ri(n3[o2],l2)?e3.reportError(new S('Field "'.concat(o2,".").concat(l2,'" already exists in the schema. It cannot also be defined in this type extension.'),c2.name)):s2[l2]?e3.reportError(new S('Field "'.concat(o2,".").concat(l2,'" can only be defined once.'),[s2[l2],c2.name])):s2[l2]=c2.name}return!1}}function Ri(e3,t3){return!!(at(e3)||ut(e3)||ht(e3))&&e3.getFields()[t3]!=null}function Pi(e3){var t3=Object.create(null),n3=e3.getSchema();return{DirectiveDefinition:function(r3){var i2=r3.name.value;if(n3==null||!n3.getDirective(i2))return t3[i2]?e3.reportError(new S('There can be only one directive named "@'.concat(i2,'".'),[t3[i2],r3.name])):t3[i2]=r3.name,!1;e3.reportError(new S('Directive "@'.concat(i2,'" already exists in the schema. It cannot be redefined.'),r3.name))}}}function Di(e3,t3,n3){return t3 in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}function ki(e3){for(var t3=e3.getSchema(),n3=Object.create(null),r3=0,i2=e3.getDocument().definitions;r3<i2.length;r3++){var o2=i2[r3];xr(o2)&&(n3[o2.name.value]=o2)}return{ScalarTypeExtension:a2,ObjectTypeExtension:a2,InterfaceTypeExtension:a2,UnionTypeExtension:a2,EnumTypeExtension:a2,InputObjectTypeExtension:a2};function a2(r4){var i3,o3,a3=r4.name.value,s2=n3[a3],u2=t3?.getType(a3);if(s2?i3=Mi[s2.kind]:u2&&(i3=it(o3=u2)?R.SCALAR_TYPE_EXTENSION:at(o3)?R.OBJECT_TYPE_EXTENSION:ut(o3)?R.INTERFACE_TYPE_EXTENSION:lt(o3)?R.UNION_TYPE_EXTENSION:pt(o3)?R.ENUM_TYPE_EXTENSION:ht(o3)?R.INPUT_OBJECT_TYPE_EXTENSION:void P(0,"Unexpected type: "+B(o3))),i3){if(i3!==r4.kind){var c2=function(e4){switch(e4){case R.SCALAR_TYPE_EXTENSION:return"scalar";case R.OBJECT_TYPE_EXTENSION:return"object";case R.INTERFACE_TYPE_EXTENSION:return"interface";case R.UNION_TYPE_EXTENSION:return"union";case R.ENUM_TYPE_EXTENSION:return"enum";case R.INPUT_OBJECT_TYPE_EXTENSION:return"input object"}P(0,"Unexpected kind: "+B(e4))}(r4.kind);e3.reportError(new S("Cannot extend non-".concat(c2,' type "').concat(a3,'".'),s2?[s2,r4]:r4))}}else{var l2=Object.keys(n3);t3&&(l2=l2.concat(Object.keys(t3.getTypeMap())));var f2=$e(a3,l2);e3.reportError(new S('Cannot extend type "'.concat(a3,'" because it is not defined.')+Me(f2),r4.name))}}}var Mi=(Di(Oi={},R.SCALAR_TYPE_DEFINITION,R.SCALAR_TYPE_EXTENSION),Di(Oi,R.OBJECT_TYPE_DEFINITION,R.OBJECT_TYPE_EXTENSION),Di(Oi,R.INTERFACE_TYPE_DEFINITION,R.INTERFACE_TYPE_EXTENSION),Di(Oi,R.UNION_TYPE_DEFINITION,R.UNION_TYPE_EXTENSION),Di(Oi,R.ENUM_TYPE_DEFINITION,R.ENUM_TYPE_EXTENSION),Di(Oi,R.INPUT_OBJECT_TYPE_DEFINITION,R.INPUT_OBJECT_TYPE_EXTENSION),Oi),Li=Object.freeze([Rr,Pr,Dr,kr,Mr,Cr,Fr,Vr,Ur,$r,Br,Hr,Gr,qr,Wr,zr,Yr,Jr,Qr,ei,ni,ri,ui,fi,hi,Ni]),Ci=Object.freeze([Ii,Si,xi,Ai,ji,Pi,Mr,Jr,Qr,ki,ti,ni,Ni,ci]);function Fi(e3,t3){e3.prototype=Object.create(t3.prototype),e3.prototype.constructor=e3,e3.__proto__=t3}var Vi=function(){function e3(e4,t4){this._ast=e4,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t4}var t3=e3.prototype;return t3.reportError=function(e4){this._onError(e4)},t3.getDocument=function(){return this._ast},t3.getFragment=function(e4){var t4=this._fragments;return t4||(this._fragments=t4=this.getDocument().definitions.reduce(function(e5,t5){return t5.kind===R.FRAGMENT_DEFINITION&&(e5[t5.name.value]=t5),e5},Object.create(null))),t4[e4]},t3.getFragmentSpreads=function(e4){var t4=this._fragmentSpreads.get(e4);if(!t4){t4=[];for(var n3=[e4];n3.length!==0;)for(var r3=0,i2=n3.pop().selections;r3<i2.length;r3++){var o2=i2[r3];o2.kind===R.FRAGMENT_SPREAD?t4.push(o2):o2.selectionSet&&n3.push(o2.selectionSet)}this._fragmentSpreads.set(e4,t4)}return t4},t3.getRecursivelyReferencedFragments=function(e4){var t4=this._recursivelyReferencedFragments.get(e4);if(!t4){t4=[];for(var n3=Object.create(null),r3=[e4.selectionSet];r3.length!==0;)for(var i2=r3.pop(),o2=0,a2=this.getFragmentSpreads(i2);o2<a2.length;o2++){var s2=a2[o2].name.value;if(n3[s2]!==!0){n3[s2]=!0;var u2=this.getFragment(s2);u2&&(t4.push(u2),r3.push(u2.selectionSet))}}this._recursivelyReferencedFragments.set(e4,t4)}return t4},e3}(),Ui=function(e3){function t3(t4,n3,r3){var i2;return(i2=e3.call(this,t4,r3)||this)._schema=n3,i2}return Fi(t3,e3),t3.prototype.getSchema=function(){return this._schema},t3}(Vi),$i=function(e3){function t3(t4,n4,r3,i2){var o2;return(o2=e3.call(this,n4,i2)||this)._schema=t4,o2._typeInfo=r3,o2._variableUsages=new Map,o2._recursiveVariableUsages=new Map,o2}Fi(t3,e3);var n3=t3.prototype;return n3.getSchema=function(){return this._schema},n3.getVariableUsages=function(e4){var t4=this._variableUsages.get(e4);if(!t4){var n4=[],r3=new br(this._schema);_e(e4,Er(r3,{VariableDefinition:function(){return!1},Variable:function(e5){n4.push({node:e5,type:r3.getInputType(),defaultValue:r3.getDefaultValue()})}})),t4=n4,this._variableUsages.set(e4,t4)}return t4},n3.getRecursiveVariableUsages=function(e4){var t4=this._recursiveVariableUsages.get(e4);if(!t4){t4=this.getVariableUsages(e4);for(var n4=0,r3=this.getRecursivelyReferencedFragments(e4);n4<r3.length;n4++){var i2=r3[n4];t4=t4.concat(this.getVariableUsages(i2))}this._recursiveVariableUsages.set(e4,t4)}return t4},n3.getType=function(){return this._typeInfo.getType()},n3.getParentType=function(){return this._typeInfo.getParentType()},n3.getInputType=function(){return this._typeInfo.getInputType()},n3.getParentInputType=function(){return this._typeInfo.getParentInputType()},n3.getFieldDef=function(){return this._typeInfo.getFieldDef()},n3.getDirective=function(){return this._typeInfo.getDirective()},n3.getArgument=function(){return this._typeInfo.getArgument()},n3.getEnumValue=function(){return this._typeInfo.getEnumValue()},t3}(Vi);function Bi(e3,t3){var n3=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Li,r3=arguments.length>3&&arguments[3]!==void 0?arguments[3]:new br(e3),i2=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{maxErrors:void 0};t3||G(0,"Must provide document."),nr(e3);var o2=Object.freeze({}),a2=[],s2=new $i(e3,t3,r3,function(e4){if(i2.maxErrors!=null&&a2.length>=i2.maxErrors)throw a2.push(new S("Too many validation errors, error limit reached. Validation aborted.")),o2;a2.push(e4)}),u2=Ee(n3.map(function(e4){return e4(s2)}));try{_e(t3,Er(r3,u2))}catch(e4){if(e4!==o2)throw e4}return a2}function Hi(e3,t3){var n3=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ci,r3=[],i2=new Ui(e3,t3,function(e4){r3.push(e4)});return _e(e3,Ee(n3.map(function(e4){return e4(i2)}))),r3}function Gi(e3,t3,n3){return{prev:e3,key:t3,typename:n3}}function qi(e3){for(var t3=[],n3=e3;n3;)t3.push(n3.key),n3=n3.prev;return t3.reverse()}function Wi(e3,t3){if(t3.operation==="query"){var n3=e3.getQueryType();if(!n3)throw new S("Schema does not define the required query root type.",t3);return n3}if(t3.operation==="mutation"){var r3=e3.getMutationType();if(!r3)throw new S("Schema is not configured for mutations.",t3);return r3}if(t3.operation==="subscription"){var i2=e3.getSubscriptionType();if(!i2)throw new S("Schema is not configured for subscriptions.",t3);return i2}throw new S("Can only have query, mutation and subscription operations.",t3)}function zi(e3){return e3.map(function(e4){return typeof e4=="number"?"["+e4.toString()+"]":"."+e4}).join("")}function Yi(e3,t3,n3){if(e3){if(e3.kind===R.VARIABLE){var r3=e3.name.value;if(n3==null||n3[r3]===void 0)return;var i2=n3[r3];return i2===null&>(t3)?void 0:i2}if(gt(t3))return e3.kind===R.NULL?void 0:Yi(e3,t3.ofType,n3);if(e3.kind===R.NULL)return null;if(mt(t3)){var o2=t3.ofType;if(e3.kind===R.LIST){for(var a2=[],s2=0,u2=e3.values;s2<u2.length;s2++){var c2=u2[s2];if(Ji(c2,n3)){if(gt(o2))return;a2.push(null)}else{var l2=Yi(c2,o2,n3);if(l2===void 0)return;a2.push(l2)}}return a2}var f2=Yi(e3,o2,n3);return f2===void 0?void 0:[f2]}if(ht(t3)){if(e3.kind!==R.OBJECT)return;for(var p2=Object.create(null),d2=je(e3.fields,function(e4){return e4.name.value}),h2=0,v2=Te(t3.getFields());h2<v2.length;h2++){var m2=v2[h2],y2=d2[m2.name];if(y2&&!Ji(y2.value,n3)){var g2=Yi(y2.value,m2.type,n3);if(g2===void 0)return;p2[m2.name]=g2}else if(m2.defaultValue!==void 0)p2[m2.name]=m2.defaultValue;else if(gt(m2.type))return}return p2}if(Tt(t3)){var b2;try{b2=t3.parseLiteral(e3,n3)}catch{return}return b2===void 0?void 0:b2}P(0,"Unexpected input type: "+B(t3))}}function Ji(e3,t3){return e3.kind===R.VARIABLE&&(t3==null||t3[e3.name.value]===void 0)}function Qi(e3,t3){return Xi(e3,t3,arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ki)}function Ki(e3,t3,n3){var r3="Invalid value "+B(t3);throw e3.length>0&&(r3+=' at "value'.concat(zi(e3),'"')),n3.message=r3+": "+n3.message,n3}function Xi(e3,t3,n3,r3){if(gt(t3))return e3!=null?Xi(e3,t3.ofType,n3,r3):void n3(qi(r3),e3,new S('Expected non-nullable type "'.concat(B(t3),'" not to be null.')));if(e3==null)return null;if(mt(t3)){var i2=t3.ofType,o2=fn(e3,function(e4,t4){var o3=Gi(r3,t4,void 0);return Xi(e4,i2,n3,o3)});return o2??[Xi(e3,i2,n3,r3)]}if(ht(t3)){if(!s(e3))return void n3(qi(r3),e3,new S('Expected type "'.concat(t3.name,'" to be an object.')));for(var a2={},u2=t3.getFields(),c2=0,l2=Te(u2);c2<l2.length;c2++){var f2=l2[c2],p2=e3[f2.name];if(p2!==void 0)a2[f2.name]=Xi(p2,f2.type,n3,Gi(r3,f2.name,t3.name));else if(f2.defaultValue!==void 0)a2[f2.name]=f2.defaultValue;else if(gt(f2.type)){var d2=B(f2.type);n3(qi(r3),e3,new S('Field "'.concat(f2.name,'" of required type "').concat(d2,'" was not provided.')))}}for(var h2=0,v2=Object.keys(e3);h2<v2.length;h2++){var m2=v2[h2];if(!u2[m2]){var y2=$e(m2,Object.keys(t3.getFields()));n3(qi(r3),e3,new S('Field "'.concat(m2,'" is not defined by type "').concat(t3.name,'".')+Me(y2)))}}return a2}if(Tt(t3)){var g2;try{g2=t3.parseValue(e3)}catch(i3){return void n3(qi(r3),e3,i3 instanceof S?i3:new S('Expected type "'.concat(t3.name,'". ')+i3.message,void 0,void 0,void 0,void 0,i3))}return g2===void 0&&n3(qi(r3),e3,new S('Expected type "'.concat(t3.name,'".'))),g2}P(0,"Unexpected input type: "+B(t3))}function Zi(e3,t3,n3){for(var r3,i2={},o2=je((r3=t3.arguments)!==null&&r3!==void 0?r3:[],function(e4){return e4.name.value}),a2=0,s2=e3.args;a2<s2.length;a2++){var u2=s2[a2],c2=u2.name,l2=u2.type,f2=o2[c2];if(f2){var p2=f2.value,d2=p2.kind===R.NULL;if(p2.kind===R.VARIABLE){var h2=p2.name.value;if(n3==null||!to(n3,h2)){if(u2.defaultValue!==void 0)i2[c2]=u2.defaultValue;else if(gt(l2))throw new S('Argument "'.concat(c2,'" of required type "').concat(B(l2),'" ')+'was provided the variable "$'.concat(h2,'" which was not provided a runtime value.'),p2);continue}d2=n3[h2]==null}if(d2&>(l2))throw new S('Argument "'.concat(c2,'" of non-null type "').concat(B(l2),'" ')+"must not be null.",p2);var v2=Yi(p2,l2,n3);if(v2===void 0)throw new S('Argument "'.concat(c2,'" has invalid value ').concat(Ge(p2),"."),p2);i2[c2]=v2}else if(u2.defaultValue!==void 0)i2[c2]=u2.defaultValue;else if(gt(l2))throw new S('Argument "'.concat(c2,'" of required type "').concat(B(l2),'" ')+"was not provided.",t3)}return i2}function eo(e3,t3,n3){var r3=t3.directives&&Oe(t3.directives,function(t4){return t4.name.value===e3.name});if(r3)return Zi(e3,r3,n3)}function to(e3,t3){return Object.prototype.hasOwnProperty.call(e3,t3)}function no(e3,t3,n3,r3,i2,o2,a2,s2){return io(arguments.length===1?e3:{schema:e3,document:t3,rootValue:n3,contextValue:r3,variableValues:i2,operationName:o2,fieldResolver:a2,typeResolver:s2})}function ro(e3){var t3=io(e3);if(o(t3))throw new Error("GraphQL execution failed to complete synchronously.");return t3}function io(e3){var t3=e3.schema,n3=e3.document,r3=e3.rootValue,i2=e3.contextValue,a2=e3.variableValues,s2=e3.operationName,u2=e3.fieldResolver,c2=e3.typeResolver;ao(t3,n3,a2);var l2=so(t3,n3,r3,i2,a2,s2,u2,c2);if(Array.isArray(l2))return{errors:l2};var f2=function(e4,t4,n4){var r4=Wi(e4.schema,t4),i3=co(e4,r4,t4.selectionSet,Object.create(null),Object.create(null)),a3=void 0;try{var s3=t4.operation==="mutation"?function(e5,t5,n5,r5,i4){return a4=Object.keys(i4),s4=function(a5,s5){var u4=i4[s5],c3=Gi(r5,s5,t5.name),l3=po(e5,t5,n5,u4,c3);return l3===void 0?a5:o(l3)?l3.then(function(e6){return a5[s5]=e6,a5}):(a5[s5]=l3,a5)},u3=Object.create(null),a4.reduce(function(e6,t6){return o(e6)?e6.then(function(e7){return s4(e7,t6)}):s4(e6,t6)},u3);var a4,s4,u3}(e4,r4,n4,a3,i3):uo(e4,r4,n4,a3,i3);return o(s3)?s3.then(void 0,function(t5){return e4.errors.push(t5),Promise.resolve(null)}):s3}catch(t5){return e4.errors.push(t5),null}}(l2,l2.operation,r3);return oo(l2,f2)}function oo(e3,t3){return o(t3)?t3.then(function(t4){return oo(e3,t4)}):e3.errors.length===0?{data:t3}:{errors:e3.errors,data:t3}}function ao(e3,t3,n3){t3||G(0,"Must provide document."),nr(e3),n3==null||s(n3)||G(0,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function so(e3,t3,n3,r3,i2,o2,a2,s2){for(var u2,c2,l2,f2=Object.create(null),p2=0,d2=t3.definitions;p2<d2.length;p2++){var h2=d2[p2];switch(h2.kind){case R.OPERATION_DEFINITION:if(o2==null){if(l2!==void 0)return[new S("Must provide operation name if query contains multiple operations.")];l2=h2}else((u2=h2.name)===null||u2===void 0?void 0:u2.value)===o2&&(l2=h2);break;case R.FRAGMENT_DEFINITION:f2[h2.name.value]=h2}}if(!l2)return o2!=null?[new S('Unknown operation named "'.concat(o2,'".'))]:[new S("Must provide an operation.")];var v2=function(e4,t4,n4,r4){var i3=[],o3=r4?.maxErrors;try{var a3=function(e5,t5,n5,r5){for(var i4={},o4=function(o5){var a5=t5[o5],s3=a5.variable.name.value,u3=gr(e5,a5.type);if(!_t(u3)){var c3=Ge(a5.type);return r5(new S('Variable "$'.concat(s3,'" expected value of type "').concat(c3,'" which cannot be used as an input type.'),a5.type)),"continue"}if(!to(n5,s3)){if(a5.defaultValue)i4[s3]=Yi(a5.defaultValue,u3);else if(gt(u3)){var l3=B(u3);r5(new S('Variable "$'.concat(s3,'" of required type "').concat(l3,'" was not provided.'),a5))}return"continue"}var f3=n5[s3];if(f3===null&>(u3)){var p3=B(u3);return r5(new S('Variable "$'.concat(s3,'" of non-null type "').concat(p3,'" must not be null.'),a5)),"continue"}i4[s3]=Qi(f3,u3,function(e6,t6,n6){var i5='Variable "$'.concat(s3,'" got invalid value ')+B(t6);e6.length>0&&(i5+=' at "'.concat(s3).concat(zi(e6),'"')),r5(new S(i5+"; "+n6.message,a5,void 0,void 0,void 0,n6.originalError))})},a4=0;a4<t5.length;a4++)o4(a4);return i4}(e4,t4,n4,function(e5){if(o3!=null&&i3.length>=o3)throw new S("Too many errors processing variables, error limit reached. Execution aborted.");i3.push(e5)});if(i3.length===0)return{coerced:a3}}catch(e5){i3.push(e5)}return{errors:i3}}(e3,(c2=l2.variableDefinitions)!==null&&c2!==void 0?c2:[],i2??{},{maxErrors:50});return v2.errors?v2.errors:{schema:e3,fragments:f2,rootValue:n3,contextValue:r3,operation:l2,variableValues:v2.coerced,fieldResolver:a2??No,typeResolver:s2??To,errors:[]}}function uo(e3,t3,n3,r3,i2){for(var a2,s2,u2,c2=Object.create(null),l2=!1,f2=0,p2=Object.keys(i2);f2<p2.length;f2++){var d2=p2[f2],h2=po(e3,t3,n3,i2[d2],Gi(r3,d2,t3.name));h2!==void 0&&(c2[d2]=h2,o(h2)&&(l2=!0))}return l2?(a2=c2,u2=(s2=Object.keys(a2)).map(function(e4){return a2[e4]}),Promise.all(u2).then(function(e4){return e4.reduce(function(e5,t4,n4){return e5[s2[n4]]=t4,e5},Object.create(null))})):c2}function co(e3,t3,n3,r3,i2){for(var o2=0,a2=n3.selections;o2<a2.length;o2++){var s2=a2[o2];switch(s2.kind){case R.FIELD:if(!lo(e3,s2))continue;var u2=(f2=s2).alias?f2.alias.value:f2.name.value;r3[u2]||(r3[u2]=[]),r3[u2].push(s2);break;case R.INLINE_FRAGMENT:if(!lo(e3,s2)||!fo(e3,s2,t3))continue;co(e3,t3,s2.selectionSet,r3,i2);break;case R.FRAGMENT_SPREAD:var c2=s2.name.value;if(i2[c2]||!lo(e3,s2))continue;i2[c2]=!0;var l2=e3.fragments[c2];if(!l2||!fo(e3,l2,t3))continue;co(e3,t3,l2.selectionSet,r3,i2)}}var f2;return r3}function lo(e3,t3){var n3=eo(Gn,t3,e3.variableValues);if(n3?.if===!0)return!1;var r3=eo(Hn,t3,e3.variableValues);return r3?.if!==!1}function fo(e3,t3,n3){var r3=t3.typeCondition;if(!r3)return!0;var i2=gr(e3.schema,r3);return i2===n3||!!xt(i2)&&e3.schema.isSubType(i2,n3)}function po(e3,t3,n3,r3,i2){var a2,s2=r3[0].name.value,u2=Io(e3.schema,t3,s2);if(u2){var c2=u2.type,l2=(a2=u2.resolve)!==null&&a2!==void 0?a2:e3.fieldResolver,f2=ho(e3,u2,r3,t3,i2);try{var p2,d2=l2(n3,Zi(u2,r3[0],e3.variableValues),e3.contextValue,f2);return p2=o(d2)?d2.then(function(t4){return mo(e3,c2,r3,f2,i2,t4)}):mo(e3,c2,r3,f2,i2,d2),o(p2)?p2.then(void 0,function(t4){return vo(Ne(t4,r3,qi(i2)),c2,e3)}):p2}catch(t4){return vo(Ne(t4,r3,qi(i2)),c2,e3)}}}function ho(e3,t3,n3,r3,i2){return{fieldName:t3.name,fieldNodes:n3,returnType:t3.type,parentType:r3,path:i2,schema:e3.schema,fragments:e3.fragments,rootValue:e3.rootValue,operation:e3.operation,variableValues:e3.variableValues}}function vo(e3,t3,n3){if(gt(t3))throw e3;return n3.errors.push(e3),null}function mo(e3,t3,n3,r3,i2,a2){if(a2 instanceof Error)throw a2;if(gt(t3)){var s2=mo(e3,t3.ofType,n3,r3,i2,a2);if(s2===null)throw new Error("Cannot return null for non-nullable field ".concat(r3.parentType.name,".").concat(r3.fieldName,"."));return s2}return a2==null?null:mt(t3)?function(e4,t4,n4,r4,i3,a3){var s3=t4.ofType,u2=!1,c2=fn(a3,function(t5,a4){var c3=Gi(i3,a4,void 0);try{var l2;return l2=o(t5)?t5.then(function(t6){return mo(e4,s3,n4,r4,c3,t6)}):mo(e4,s3,n4,r4,c3,t5),o(l2)?(u2=!0,l2.then(void 0,function(t6){return vo(Ne(t6,n4,qi(c3)),s3,e4)})):l2}catch(t6){return vo(Ne(t6,n4,qi(c3)),s3,e4)}});if(c2==null)throw new S('Expected Iterable, but did not find one for field "'.concat(r4.parentType.name,".").concat(r4.fieldName,'".'));return u2?Promise.all(c2):c2}(e3,t3,n3,r3,i2,a2):Tt(t3)?function(e4,t4){var n4=e4.serialize(t4);if(n4===void 0)throw new Error('Expected a value of type "'.concat(B(e4),'" but ')+"received: ".concat(B(t4)));return n4}(t3,a2):xt(t3)?function(e4,t4,n4,r4,i3,a3){var s3,u2=(s3=t4.resolveType)!==null&&s3!==void 0?s3:e4.typeResolver,c2=e4.contextValue,l2=u2(a3,c2,r4,t4);return o(l2)?l2.then(function(o2){return go(e4,yo(o2,e4,t4,n4,r4,a3),n4,r4,i3,a3)}):go(e4,yo(l2,e4,t4,n4,r4,a3),n4,r4,i3,a3)}(e3,t3,n3,r3,i2,a2):at(t3)?go(e3,t3,n3,r3,i2,a2):void P(0,"Cannot complete value of unexpected output type: "+B(t3))}function yo(e3,t3,n3,r3,i2,o2){if(e3==null)throw new S('Abstract type "'.concat(n3.name,'" must resolve to an Object type at runtime for field "').concat(i2.parentType.name,".").concat(i2.fieldName,'". Either the "').concat(n3.name,'" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.'),r3);var a2=Ct(e3)?e3.name:e3;if(typeof a2!="string")throw new S('Abstract type "'.concat(n3.name,'" must resolve to an Object type at runtime for field "').concat(i2.parentType.name,".").concat(i2.fieldName,'" with ')+"value ".concat(B(o2),', received "').concat(B(e3),'".'));var s2=t3.schema.getType(a2);if(s2==null)throw new S('Abstract type "'.concat(n3.name,'" was resolve to a type "').concat(a2,'" that does not exist inside schema.'),r3);if(!at(s2))throw new S('Abstract type "'.concat(n3.name,'" was resolve to a non-object type "').concat(a2,'".'),r3);if(!t3.schema.isSubType(n3,s2))throw new S('Runtime Object type "'.concat(s2.name,'" is not a possible type for "').concat(n3.name,'".'),r3);return s2}function go(e3,t3,n3,r3,i2,a2){if(t3.isTypeOf){var s2=t3.isTypeOf(a2,e3.contextValue,r3);if(o(s2))return s2.then(function(r4){if(!r4)throw bo(t3,a2,n3);return _o(e3,t3,n3,i2,a2)});if(!s2)throw bo(t3,a2,n3)}return _o(e3,t3,n3,i2,a2)}function bo(e3,t3,n3){return new S('Expected value of type "'.concat(e3.name,'" but got: ').concat(B(t3),"."),n3)}function _o(e3,t3,n3,r3,i2){return uo(e3,t3,i2,r3,Oo(e3,t3,n3))}var Eo,wo,Oo=(Eo=function(e3,t3,n3){for(var r3=Object.create(null),i2=Object.create(null),o2=0;o2<n3.length;o2++){var a2=n3[o2];a2.selectionSet&&(r3=co(e3,t3,a2.selectionSet,r3,i2))}return r3},function(e3,t3,n3){wo||(wo=new WeakMap);var r3,i2=wo.get(e3);if(i2){if(r3=i2.get(t3)){var o2=r3.get(n3);if(o2!==void 0)return o2}}else i2=new WeakMap,wo.set(e3,i2);r3||(r3=new WeakMap,i2.set(t3,r3));var a2=Eo(e3,t3,n3);return r3.set(n3,a2),a2}),To=function(e3,t3,n3,r3){if(s(e3)&&typeof e3.__typename=="string")return e3.__typename;for(var i2=n3.schema.getPossibleTypes(r3),a2=[],u2=0;u2<i2.length;u2++){var c2=i2[u2];if(c2.isTypeOf){var l2=c2.isTypeOf(e3,t3,n3);if(o(l2))a2[u2]=l2;else if(l2)return c2.name}}return a2.length?Promise.all(a2).then(function(e4){for(var t4=0;t4<e4.length;t4++)if(e4[t4])return i2[t4].name}):void 0},No=function(e3,t3,n3,r3){if(s(e3)||typeof e3=="function"){var i2=e3[r3.fieldName];return typeof i2=="function"?e3[r3.fieldName](t3,n3,r3):i2}};function Io(e3,t3,n3){return n3===kn.name&&e3.getQueryType()===t3?kn:n3===Mn.name&&e3.getQueryType()===t3?Mn:n3===Ln.name?Ln:t3.getFields()[n3]}function So(e3,t3,n3,r3,i2,o2,a2,s2){var u2=arguments;return new Promise(function(c2){return c2(Ao(u2.length===1?e3:{schema:e3,source:t3,rootValue:n3,contextValue:r3,variableValues:i2,operationName:o2,fieldResolver:a2,typeResolver:s2}))})}function xo(e3,t3,n3,r3,i2,a2,s2,u2){var c2=Ao(arguments.length===1?e3:{schema:e3,source:t3,rootValue:n3,contextValue:r3,variableValues:i2,operationName:a2,fieldResolver:s2,typeResolver:u2});if(o(c2))throw new Error("GraphQL execution failed to complete synchronously.");return c2}function Ao(e3){var t3,n3=e3.schema,r3=e3.source,i2=e3.rootValue,o2=e3.contextValue,a2=e3.variableValues,s2=e3.operationName,u2=e3.fieldResolver,c2=e3.typeResolver,l2=tr(n3);if(l2.length>0)return{errors:l2};try{t3=pe(r3)}catch(e4){return{errors:[e4]}}var f2=Bi(n3,t3);return f2.length>0?{errors:f2}:no({schema:n3,document:t3,rootValue:i2,contextValue:o2,variableValues:a2,operationName:s2,fieldResolver:u2,typeResolver:c2})}function jo(e3){return typeof e3?.[c]=="function"}function Ro(e3,t3){return new Promise(function(n3){return n3(t3(e3))})}function Po(e3){return{value:e3,done:!1}}function Do(e3,t3,n3,r3,i2,o2,a2,s2){return function(e4){var t4=e4.schema,n4=e4.document,r4=e4.rootValue,i3=e4.contextValue,o3=e4.variableValues,a3=e4.operationName,s3=e4.fieldResolver,u2=e4.subscribeFieldResolver,l2=Mo(t4,n4,r4,i3,o3,a3,u2),f2=function(e5){return no({schema:t4,document:n4,rootValue:e5,contextValue:i3,variableValues:o3,operationName:a3,fieldResolver:s3})};return l2.then(function(e5){return jo(e5)?function(e6,t5,n5){var r5,i4,o4,a4=e6[c].call(e6);function s4(e7){return e7.done?e7:Ro(e7.value,t5).then(Po,i4)}if(typeof a4.return=="function"&&(r5=a4.return,i4=function(e7){var t6=function(){return Promise.reject(e7)};return r5.call(a4).then(t6,t6)}),n5){var u3=n5;o4=function(e7){return Ro(e7,u3).then(Po,i4)}}return function(e7,t6,n6){return t6 in e7?Object.defineProperty(e7,t6,{value:n6,enumerable:!0,configurable:!0,writable:!0}):e7[t6]=n6,e7}({next:function(){return a4.next().then(s4,o4)},return:function(){return r5?r5.call(a4).then(s4,o4):Promise.resolve({value:void 0,done:!0})},throw:function(e7){return typeof a4.throw=="function"?a4.throw(e7).then(s4,o4):Promise.reject(e7).catch(i4)}},c,function(){return this})}(e5,f2,ko):e5})}(arguments.length===1?e3:{schema:e3,document:t3,rootValue:n3,contextValue:r3,variableValues:i2,operationName:o2,fieldResolver:a2,subscribeFieldResolver:s2})}function ko(e3){if(e3 instanceof S)return{errors:[e3]};throw e3}function Mo(e3,t3,n3,r3,i2,o2,a2){return ao(e3,t3,i2),new Promise(function(s2){var u2=so(e3,t3,n3,r3,i2,o2,a2);s2(Array.isArray(u2)?{errors:u2}:function(e4){var t4=e4.schema,n4=e4.operation,r4=e4.variableValues,i3=e4.rootValue,o3=Wi(t4,n4),a3=co(e4,o3,n4.selectionSet,Object.create(null),Object.create(null)),s3=Object.keys(a3)[0],u3=a3[s3],c2=u3[0].name.value,l2=Io(t4,o3,c2);if(!l2)throw new S('The subscription field "'.concat(c2,'" is not defined.'),u3);var f2=Gi(void 0,s3,o3.name),p2=ho(e4,l2,u3,o3,f2);return new Promise(function(t5){var n5,o4=Zi(l2,u3[0],r4),a4=e4.contextValue;t5(((n5=l2.subscribe)!==null&&n5!==void 0?n5:e4.fieldResolver)(i3,o4,a4,p2))}).then(function(e5){if(e5 instanceof Error)throw Ne(e5,u3,qi(f2));if(!jo(e5))throw new Error("Subscription field must return Async Iterable. "+"Received: ".concat(B(e5),"."));return e5},function(e5){throw Ne(e5,u3,qi(f2))})}(u2))}).catch(ko)}function Lo(e3){return{Field:function(t3){var n3=e3.getFieldDef(),r3=n3?.deprecationReason;if(n3&&r3!=null){var i2=e3.getParentType();i2!=null||P(0),e3.reportError(new S("The field ".concat(i2.name,".").concat(n3.name," is deprecated. ").concat(r3),t3))}},Argument:function(t3){var n3=e3.getArgument(),r3=n3?.deprecationReason;if(n3&&r3!=null){var i2=e3.getDirective();if(i2!=null)e3.reportError(new S('Directive "@'.concat(i2.name,'" argument "').concat(n3.name,'" is deprecated. ').concat(r3),t3));else{var o2=e3.getParentType(),a2=e3.getFieldDef();o2!=null&&a2!=null||P(0),e3.reportError(new S('Field "'.concat(o2.name,".").concat(a2.name,'" argument "').concat(n3.name,'" is deprecated. ').concat(r3),t3))}}},ObjectField:function(t3){var n3=Vt(e3.getParentInputType());if(ht(n3)){var r3=n3.getFields()[t3.name.value],i2=r3?.deprecationReason;i2!=null&&e3.reportError(new S("The input field ".concat(n3.name,".").concat(r3.name," is deprecated. ").concat(i2),t3))}},EnumValue:function(t3){var n3=e3.getEnumValue(),r3=n3?.deprecationReason;if(n3&&r3!=null){var i2=Vt(e3.getInputType());i2!=null||P(0),e3.reportError(new S('The enum value "'.concat(i2.name,".").concat(n3.name,'" is deprecated. ').concat(r3),t3))}}}}function Co(e3){return{Field:function(t3){var n3=Vt(e3.getType());n3&&Fn(n3)&&e3.reportError(new S('GraphQL introspection has been disabled, but the requested query contained the field "'.concat(t3.name.value,'".'),t3))}}}function Fo(e3){var t3;e3||G(0,"Received null or undefined error.");var n3=(t3=e3.message)!==null&&t3!==void 0?t3:"An unknown error occurred.",r3=e3.locations,i2=e3.path,o2=e3.extensions;return o2&&Object.keys(o2).length>0?{message:n3,locations:r3,path:i2,extensions:o2}:{message:n3,locations:r3,path:i2}}function Vo(e3,t3){var n3=Object.keys(e3);if(Object.getOwnPropertySymbols){var r3=Object.getOwnPropertySymbols(e3);t3&&(r3=r3.filter(function(t4){return Object.getOwnPropertyDescriptor(e3,t4).enumerable})),n3.push.apply(n3,r3)}return n3}function Uo(e3,t3,n3){return t3 in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}function $o(e3){var t3=function(e4){for(var t4=1;t4<arguments.length;t4++){var n4=arguments[t4]!=null?arguments[t4]:{};t4%2?Vo(Object(n4),!0).forEach(function(t5){Uo(e4,t5,n4[t5])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e4,Object.getOwnPropertyDescriptors(n4)):Vo(Object(n4)).forEach(function(t5){Object.defineProperty(e4,t5,Object.getOwnPropertyDescriptor(n4,t5))})}return e4}({descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1},e3),n3=t3.descriptions?"description":"",r3=t3.specifiedByUrl?"specifiedByUrl":"",i2=t3.directiveIsRepeatable?"isRepeatable":"",o2=t3.schemaDescription?n3:"";function a2(e4){return t3.inputValueDeprecation?e4:""}return`
|
84
|
-
query IntrospectionQuery {
|
85
|
-
__schema {
|
86
|
-
`.concat(o2,`
|
87
|
-
queryType { name }
|
88
|
-
mutationType { name }
|
89
|
-
subscriptionType { name }
|
90
|
-
types {
|
91
|
-
...FullType
|
92
|
-
}
|
93
|
-
directives {
|
94
|
-
name
|
95
|
-
`).concat(n3,`
|
96
|
-
`).concat(i2,`
|
97
|
-
locations
|
98
|
-
args`).concat(a2("(includeDeprecated: true)"),` {
|
99
|
-
...InputValue
|
100
|
-
}
|
101
|
-
}
|
102
|
-
}
|
103
|
-
}
|
104
|
-
|
105
|
-
fragment FullType on __Type {
|
106
|
-
kind
|
107
|
-
name
|
108
|
-
`).concat(n3,`
|
109
|
-
`).concat(r3,`
|
110
|
-
fields(includeDeprecated: true) {
|
111
|
-
name
|
112
|
-
`).concat(n3,`
|
113
|
-
args`).concat(a2("(includeDeprecated: true)"),` {
|
114
|
-
...InputValue
|
115
|
-
}
|
116
|
-
type {
|
117
|
-
...TypeRef
|
118
|
-
}
|
119
|
-
isDeprecated
|
120
|
-
deprecationReason
|
121
|
-
}
|
122
|
-
inputFields`).concat(a2("(includeDeprecated: true)"),` {
|
123
|
-
...InputValue
|
124
|
-
}
|
125
|
-
interfaces {
|
126
|
-
...TypeRef
|
127
|
-
}
|
128
|
-
enumValues(includeDeprecated: true) {
|
129
|
-
name
|
130
|
-
`).concat(n3,`
|
131
|
-
isDeprecated
|
132
|
-
deprecationReason
|
133
|
-
}
|
134
|
-
possibleTypes {
|
135
|
-
...TypeRef
|
136
|
-
}
|
137
|
-
}
|
138
|
-
|
139
|
-
fragment InputValue on __InputValue {
|
140
|
-
name
|
141
|
-
`).concat(n3,`
|
142
|
-
type { ...TypeRef }
|
143
|
-
defaultValue
|
144
|
-
`).concat(a2("isDeprecated"),`
|
145
|
-
`).concat(a2("deprecationReason"),`
|
146
|
-
}
|
147
|
-
|
148
|
-
fragment TypeRef on __Type {
|
149
|
-
kind
|
150
|
-
name
|
151
|
-
ofType {
|
152
|
-
kind
|
153
|
-
name
|
154
|
-
ofType {
|
155
|
-
kind
|
156
|
-
name
|
157
|
-
ofType {
|
158
|
-
kind
|
159
|
-
name
|
160
|
-
ofType {
|
161
|
-
kind
|
162
|
-
name
|
163
|
-
ofType {
|
164
|
-
kind
|
165
|
-
name
|
166
|
-
ofType {
|
167
|
-
kind
|
168
|
-
name
|
169
|
-
ofType {
|
170
|
-
kind
|
171
|
-
name
|
172
|
-
}
|
173
|
-
}
|
174
|
-
}
|
175
|
-
}
|
176
|
-
}
|
177
|
-
}
|
178
|
-
}
|
179
|
-
}
|
180
|
-
`)}function Bo(e3,t3){for(var n3=null,r3=0,i2=e3.definitions;r3<i2.length;r3++){var o2,a2=i2[r3];if(a2.kind===R.OPERATION_DEFINITION){if(t3==null){if(n3)return null;n3=a2}else if(((o2=a2.name)===null||o2===void 0?void 0:o2.value)===t3)return a2}}return n3}function Ho(e3,t3){var n3=Object.keys(e3);if(Object.getOwnPropertySymbols){var r3=Object.getOwnPropertySymbols(e3);t3&&(r3=r3.filter(function(t4){return Object.getOwnPropertyDescriptor(e3,t4).enumerable})),n3.push.apply(n3,r3)}return n3}function Go(e3,t3,n3){return t3 in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}function qo(e3,t3){var n3=function(e4){for(var t4=1;t4<arguments.length;t4++){var n4=arguments[t4]!=null?arguments[t4]:{};t4%2?Ho(Object(n4),!0).forEach(function(t5){Go(e4,t5,n4[t5])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e4,Object.getOwnPropertyDescriptors(n4)):Ho(Object(n4)).forEach(function(t5){Object.defineProperty(e4,t5,Object.getOwnPropertyDescriptor(n4,t5))})}return e4}({specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0},t3),r3=ro({schema:e3,document:pe($o(n3))});return!r3.errors&&r3.data||P(0),r3.data}function Wo(e3,t3){s(e3)&&s(e3.__schema)||G(0,'Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: '.concat(B(e3),"."));for(var n3=e3.__schema,r3=De(n3.types,function(e4){return e4.name},function(e4){return function(e5){if(e5!=null&&e5.name!=null&&e5.kind!=null)switch(e5.kind){case Pn.SCALAR:return new Bt({name:(r4=e5).name,description:r4.description,specifiedByUrl:r4.specifiedByUrl});case Pn.OBJECT:return new Ht({name:(n4=e5).name,description:n4.description,interfaces:function(){return m2(n4)},fields:function(){return y2(n4)}});case Pn.INTERFACE:return new Qt({name:(t4=e5).name,description:t4.description,interfaces:function(){return m2(t4)},fields:function(){return y2(t4)}});case Pn.UNION:return function(e6){if(!e6.possibleTypes){var t5=B(e6);throw new Error("Introspection result missing possibleTypes: ".concat(t5,"."))}return new Kt({name:e6.name,description:e6.description,types:function(){return e6.possibleTypes.map(h2)}})}(e5);case Pn.ENUM:return function(e6){if(!e6.enumValues){var t5=B(e6);throw new Error("Introspection result missing enumValues: ".concat(t5,"."))}return new Zt({name:e6.name,description:e6.description,values:De(e6.enumValues,function(e7){return e7.name},function(e7){return{description:e7.description,deprecationReason:e7.deprecationReason}})})}(e5);case Pn.INPUT_OBJECT:return function(e6){if(!e6.inputFields){var t5=B(e6);throw new Error("Introspection result missing inputFields: ".concat(t5,"."))}return new tn({name:e6.name,description:e6.description,fields:function(){return b2(e6.inputFields)}})}(e5)}var t4,n4,r4,i3=B(e5);throw new Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ".concat(i3,"."))}(e4)}),i2=0,o2=[].concat(En,Cn);i2<o2.length;i2++){var a2=o2[i2];r3[a2.name]&&(r3[a2.name]=a2)}var u2=n3.queryType?h2(n3.queryType):null,c2=n3.mutationType?h2(n3.mutationType):null,l2=n3.subscriptionType?h2(n3.subscriptionType):null,f2=n3.directives?n3.directives.map(function(e4){if(!e4.args){var t4=B(e4);throw new Error("Introspection result missing directive args: ".concat(t4,"."))}if(!e4.locations){var n4=B(e4);throw new Error("Introspection result missing directive locations: ".concat(n4,"."))}return new Bn({name:e4.name,description:e4.description,isRepeatable:e4.isRepeatable,locations:e4.locations.slice(),args:b2(e4.args)})}):[];return new Zn({description:n3.description,query:u2,mutation:c2,subscription:l2,types:Te(r3),directives:f2,assumeValid:t3?.assumeValid});function p2(e4){if(e4.kind===Pn.LIST){var t4=e4.ofType;if(!t4)throw new Error("Decorated type deeper than introspection query.");return new jt(p2(t4))}if(e4.kind===Pn.NON_NULL){var n4=e4.ofType;if(!n4)throw new Error("Decorated type deeper than introspection query.");return new Rt(Mt(p2(n4)))}return d2(e4)}function d2(e4){var t4=e4.name;if(!t4)throw new Error("Unknown type reference: ".concat(B(e4),"."));var n4=r3[t4];if(!n4)throw new Error("Invalid or incomplete schema, unknown type: ".concat(t4,". Ensure that a full introspection query is used in order to build a client schema."));return n4}function h2(e4){return st(d2(e4))}function v2(e4){return ct(d2(e4))}function m2(e4){if(e4.interfaces===null&&e4.kind===Pn.INTERFACE)return[];if(!e4.interfaces){var t4=B(e4);throw new Error("Introspection result missing interfaces: ".concat(t4,"."))}return e4.interfaces.map(v2)}function y2(e4){if(!e4.fields)throw new Error("Introspection result missing fields: ".concat(B(e4),"."));return De(e4.fields,function(e5){return e5.name},g2)}function g2(e4){var t4=p2(e4.type);if(!wt(t4)){var n4=B(t4);throw new Error("Introspection must provide output type for fields, but received: ".concat(n4,"."))}if(!e4.args){var r4=B(e4);throw new Error("Introspection result missing field args: ".concat(r4,"."))}return{description:e4.description,deprecationReason:e4.deprecationReason,type:t4,args:b2(e4.args)}}function b2(e4){return De(e4,function(e5){return e5.name},_2)}function _2(e4){var t4=p2(e4.type);if(!_t(t4)){var n4=B(t4);throw new Error("Introspection must provide input type for arguments, but received: ".concat(n4,"."))}var r4=e4.defaultValue!=null?Yi(de(e4.defaultValue),t4):void 0;return{description:e4.description,type:t4,defaultValue:r4,deprecationReason:e4.deprecationReason}}}function zo(e3,t3){var n3=Object.keys(e3);if(Object.getOwnPropertySymbols){var r3=Object.getOwnPropertySymbols(e3);t3&&(r3=r3.filter(function(t4){return Object.getOwnPropertyDescriptor(e3,t4).enumerable})),n3.push.apply(n3,r3)}return n3}function Yo(e3){for(var t3=1;t3<arguments.length;t3++){var n3=arguments[t3]!=null?arguments[t3]:{};t3%2?zo(Object(n3),!0).forEach(function(t4){Jo(e3,t4,n3[t4])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e3,Object.getOwnPropertyDescriptors(n3)):zo(Object(n3)).forEach(function(t4){Object.defineProperty(e3,t4,Object.getOwnPropertyDescriptor(n3,t4))})}return e3}function Jo(e3,t3,n3){return t3 in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}function Qo(e3,t3,n3){Xn(e3),t3!=null&&t3.kind===R.DOCUMENT||G(0,"Must provide valid Document AST."),n3?.assumeValid!==!0&&n3?.assumeValidSDL!==!0&&function(e4,t4){var n4=Hi(e4,t4);if(n4.length!==0)throw new Error(n4.map(function(e5){return e5.message}).join(`
|
181
|
-
|
182
|
-
`))}(t3,e3);var r3=e3.toConfig(),i2=Ko(r3,t3,n3);return r3===i2?e3:new Zn(i2)}function Ko(e3,t3,n3){for(var r3,i2,o2,a2,s2,u2=[],c2=Object.create(null),l2=[],f2=[],p2=0,d2=t3.definitions;p2<d2.length;p2++){var h2=d2[p2];if(h2.kind===R.SCHEMA_DEFINITION)s2=h2;else if(h2.kind===R.SCHEMA_EXTENSION)f2.push(h2);else if(xr(h2))u2.push(h2);else if(jr(h2)){var v2=h2.name.value,m2=c2[v2];c2[v2]=m2?m2.concat([h2]):[h2]}else h2.kind===R.DIRECTIVE_DEFINITION&&l2.push(h2)}if(Object.keys(c2).length===0&&u2.length===0&&l2.length===0&&f2.length===0&&s2==null)return e3;for(var y2=Object.create(null),g2=0,b2=e3.types;g2<b2.length;g2++){var _2=b2[g2];y2[_2.name]=Fn(E2=_2)||wn(E2)?E2:it(E2)?function(e4){for(var t4,n4=e4.toConfig(),r4=(t4=c2[n4.name])!==null&&t4!==void 0?t4:[],i3=n4.specifiedByUrl,o3=0;o3<r4.length;o3++){var a3;i3=(a3=ea(r4[o3]))!==null&&a3!==void 0?a3:i3}return new Bt(Yo(Yo({},n4),{},{specifiedByUrl:i3,extensionASTNodes:n4.extensionASTNodes.concat(r4)}))}(E2):at(E2)?function(e4){var t4,n4=e4.toConfig(),r4=(t4=c2[n4.name])!==null&&t4!==void 0?t4:[];return new Ht(Yo(Yo({},n4),{},{interfaces:function(){return[].concat(e4.getInterfaces().map(x2),U2(r4))},fields:function(){return Yo(Yo({},Re(n4.fields,A2)),L2(r4))},extensionASTNodes:n4.extensionASTNodes.concat(r4)}))}(E2):ut(E2)?function(e4){var t4,n4=e4.toConfig(),r4=(t4=c2[n4.name])!==null&&t4!==void 0?t4:[];return new Qt(Yo(Yo({},n4),{},{interfaces:function(){return[].concat(e4.getInterfaces().map(x2),U2(r4))},fields:function(){return Yo(Yo({},Re(n4.fields,A2)),L2(r4))},extensionASTNodes:n4.extensionASTNodes.concat(r4)}))}(E2):lt(E2)?function(e4){var t4,n4=e4.toConfig(),r4=(t4=c2[n4.name])!==null&&t4!==void 0?t4:[];return new Kt(Yo(Yo({},n4),{},{types:function(){return[].concat(e4.getTypes().map(x2),$2(r4))},extensionASTNodes:n4.extensionASTNodes.concat(r4)}))}(E2):pt(E2)?function(e4){var t4,n4=e4.toConfig(),r4=(t4=c2[e4.name])!==null&&t4!==void 0?t4:[];return new Zt(Yo(Yo({},n4),{},{values:Yo(Yo({},n4.values),V2(r4)),extensionASTNodes:n4.extensionASTNodes.concat(r4)}))}(E2):ht(E2)?function(e4){var t4,n4=e4.toConfig(),r4=(t4=c2[n4.name])!==null&&t4!==void 0?t4:[];return new tn(Yo(Yo({},n4),{},{fields:function(){return Yo(Yo({},Re(n4.fields,function(e5){return Yo(Yo({},e5),{},{type:S2(e5.type)})})),F2(r4))},extensionASTNodes:n4.extensionASTNodes.concat(r4)}))}(E2):void P(0,"Unexpected type: "+B(E2))}for(var E2,w2=0;w2<u2.length;w2++){var O2,T2=u2[w2],N2=T2.name.value;y2[N2]=(O2=Xo[N2])!==null&&O2!==void 0?O2:H2(T2)}var I2=Yo(Yo({query:e3.query&&x2(e3.query),mutation:e3.mutation&&x2(e3.mutation),subscription:e3.subscription&&x2(e3.subscription)},s2&&D2([s2])),D2(f2));return Yo(Yo({description:(r3=s2)===null||r3===void 0||(i2=r3.description)===null||i2===void 0?void 0:i2.value},I2),{},{types:Te(y2),directives:[].concat(e3.directives.map(function(e4){var t4=e4.toConfig();return new Bn(Yo(Yo({},t4),{},{args:Re(t4.args,j2)}))}),l2.map(function(e4){var t4=e4.locations.map(function(e5){return e5.value});return new Bn({name:e4.name.value,description:ta(e4,n3),locations:t4,isRepeatable:e4.repeatable,args:C2(e4.arguments),astNode:e4})})),extensions:void 0,astNode:(o2=s2)!==null&&o2!==void 0?o2:e3.astNode,extensionASTNodes:e3.extensionASTNodes.concat(f2),assumeValid:(a2=n3?.assumeValid)!==null&&a2!==void 0&&a2});function S2(e4){return mt(e4)?new jt(S2(e4.ofType)):gt(e4)?new Rt(S2(e4.ofType)):x2(e4)}function x2(e4){return y2[e4.name]}function A2(e4){return Yo(Yo({},e4),{},{type:S2(e4.type),args:Re(e4.args,j2)})}function j2(e4){return Yo(Yo({},e4),{},{type:S2(e4.type)})}function D2(e4){for(var t4={},n4=0;n4<e4.length;n4++)for(var r4,i3=(r4=e4[n4].operationTypes)!==null&&r4!==void 0?r4:[],o3=0;o3<i3.length;o3++){var a3=i3[o3];t4[a3.operation]=k2(a3.type)}return t4}function k2(e4){var t4,n4=e4.name.value,r4=(t4=Xo[n4])!==null&&t4!==void 0?t4:y2[n4];if(r4===void 0)throw new Error('Unknown type: "'.concat(n4,'".'));return r4}function M2(e4){return e4.kind===R.LIST_TYPE?new jt(M2(e4.type)):e4.kind===R.NON_NULL_TYPE?new Rt(M2(e4.type)):k2(e4)}function L2(e4){for(var t4=Object.create(null),r4=0;r4<e4.length;r4++)for(var i3,o3=(i3=e4[r4].fields)!==null&&i3!==void 0?i3:[],a3=0;a3<o3.length;a3++){var s3=o3[a3];t4[s3.name.value]={type:M2(s3.type),description:ta(s3,n3),args:C2(s3.arguments),deprecationReason:Zo(s3),astNode:s3}}return t4}function C2(e4){for(var t4=e4??[],r4=Object.create(null),i3=0;i3<t4.length;i3++){var o3=t4[i3],a3=M2(o3.type);r4[o3.name.value]={type:a3,description:ta(o3,n3),defaultValue:Yi(o3.defaultValue,a3),deprecationReason:Zo(o3),astNode:o3}}return r4}function F2(e4){for(var t4=Object.create(null),r4=0;r4<e4.length;r4++)for(var i3,o3=(i3=e4[r4].fields)!==null&&i3!==void 0?i3:[],a3=0;a3<o3.length;a3++){var s3=o3[a3],u3=M2(s3.type);t4[s3.name.value]={type:u3,description:ta(s3,n3),defaultValue:Yi(s3.defaultValue,u3),deprecationReason:Zo(s3),astNode:s3}}return t4}function V2(e4){for(var t4=Object.create(null),r4=0;r4<e4.length;r4++)for(var i3,o3=(i3=e4[r4].values)!==null&&i3!==void 0?i3:[],a3=0;a3<o3.length;a3++){var s3=o3[a3];t4[s3.name.value]={description:ta(s3,n3),deprecationReason:Zo(s3),astNode:s3}}return t4}function U2(e4){for(var t4=[],n4=0;n4<e4.length;n4++)for(var r4,i3=(r4=e4[n4].interfaces)!==null&&r4!==void 0?r4:[],o3=0;o3<i3.length;o3++){var a3=i3[o3];t4.push(k2(a3))}return t4}function $2(e4){for(var t4=[],n4=0;n4<e4.length;n4++)for(var r4,i3=(r4=e4[n4].types)!==null&&r4!==void 0?r4:[],o3=0;o3<i3.length;o3++){var a3=i3[o3];t4.push(k2(a3))}return t4}function H2(e4){var t4,r4=e4.name.value,i3=ta(e4,n3),o3=(t4=c2[r4])!==null&&t4!==void 0?t4:[];switch(e4.kind){case R.OBJECT_TYPE_DEFINITION:var a3=o3,s3=[e4].concat(a3);return new Ht({name:r4,description:i3,interfaces:function(){return U2(s3)},fields:function(){return L2(s3)},astNode:e4,extensionASTNodes:a3});case R.INTERFACE_TYPE_DEFINITION:var u3=o3,l3=[e4].concat(u3);return new Qt({name:r4,description:i3,interfaces:function(){return U2(l3)},fields:function(){return L2(l3)},astNode:e4,extensionASTNodes:u3});case R.ENUM_TYPE_DEFINITION:var f3=o3,p3=[e4].concat(f3);return new Zt({name:r4,description:i3,values:V2(p3),astNode:e4,extensionASTNodes:f3});case R.UNION_TYPE_DEFINITION:var d3=o3,h3=[e4].concat(d3);return new Kt({name:r4,description:i3,types:function(){return $2(h3)},astNode:e4,extensionASTNodes:d3});case R.SCALAR_TYPE_DEFINITION:var v3=o3;return new Bt({name:r4,description:i3,specifiedByUrl:ea(e4),astNode:e4,extensionASTNodes:v3});case R.INPUT_OBJECT_TYPE_DEFINITION:var m3=o3,y3=[e4].concat(m3);return new tn({name:r4,description:i3,fields:function(){return F2(y3)},astNode:e4,extensionASTNodes:m3})}P(0,"Unexpected type definition node: "+B(e4))}}var Xo=je(En.concat(Cn),function(e3){return e3.name});function Zo(e3){var t3=eo(Wn,e3);return t3?.reason}function ea(e3){var t3=eo(zn,e3);return t3?.url}function ta(e3,t3){if(e3.description)return e3.description.value;if(t3?.commentDescriptions===!0){var n3=function(e4){var t4=e4.loc;if(t4){for(var n4=[],r3=t4.startToken.prev;r3!=null&&r3.kind===F.COMMENT&&r3.next&&r3.prev&&r3.line+1===r3.next.line&&r3.line!==r3.prev.line;){var i2=String(r3.value);n4.push(i2),r3=r3.prev}return n4.length>0?n4.reverse().join(`
|
183
|
-
`):void 0}}(e3);if(n3!==void 0)return Q(`
|
184
|
-
`+n3)}}function na(e3,t3){e3!=null&&e3.kind===R.DOCUMENT||G(0,"Must provide valid Document AST."),t3?.assumeValid!==!0&&t3?.assumeValidSDL!==!0&&function(e4){var t4=Hi(e4);if(t4.length!==0)throw new Error(t4.map(function(e5){return e5.message}).join(`
|
185
|
-
|
186
|
-
`))}(e3);var n3=Ko({description:void 0,types:[],directives:[],extensions:void 0,extensionASTNodes:[],assumeValid:!1},e3,t3);if(n3.astNode==null)for(var r3=0,i2=n3.types;r3<i2.length;r3++){var o2=i2[r3];switch(o2.name){case"Query":n3.query=o2;break;case"Mutation":n3.mutation=o2;break;case"Subscription":n3.subscription=o2}}for(var a2=n3.directives,s2=function(e4){var t4=Yn[e4];a2.every(function(e5){return e5.name!==t4.name})&&a2.push(t4)},u2=0;u2<Yn.length;u2++)s2(u2);return new Zn(n3)}function ra(e3,t3){return na(pe(e3,{noLocation:t3?.noLocation,allowLegacySDLEmptyFields:t3?.allowLegacySDLEmptyFields,allowLegacySDLImplementsInterfaces:t3?.allowLegacySDLImplementsInterfaces,experimentalFragmentVariables:t3?.experimentalFragmentVariables}),{commentDescriptions:t3?.commentDescriptions,assumeValidSDL:t3?.assumeValidSDL,assumeValid:t3?.assumeValid})}function ia(e3,t3){var n3=Object.keys(e3);if(Object.getOwnPropertySymbols){var r3=Object.getOwnPropertySymbols(e3);t3&&(r3=r3.filter(function(t4){return Object.getOwnPropertyDescriptor(e3,t4).enumerable})),n3.push.apply(n3,r3)}return n3}function oa(e3){for(var t3=1;t3<arguments.length;t3++){var n3=arguments[t3]!=null?arguments[t3]:{};t3%2?ia(Object(n3),!0).forEach(function(t4){aa(e3,t4,n3[t4])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e3,Object.getOwnPropertyDescriptors(n3)):ia(Object(n3)).forEach(function(t4){Object.defineProperty(e3,t4,Object.getOwnPropertyDescriptor(n3,t4))})}return e3}function aa(e3,t3,n3){return t3 in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}function sa(e3){var t3=e3.toConfig(),n3=De(ca(t3.types),function(e4){return e4.name},function(e4){if(it(e4)||Fn(e4))return e4;if(at(e4)){var t4=e4.toConfig();return new Ht(oa(oa({},t4),{},{interfaces:function(){return u2(t4.interfaces)},fields:function(){return s2(t4.fields)}}))}if(ut(e4)){var n4=e4.toConfig();return new Qt(oa(oa({},n4),{},{interfaces:function(){return u2(n4.interfaces)},fields:function(){return s2(n4.fields)}}))}if(lt(e4)){var i3=e4.toConfig();return new Kt(oa(oa({},i3),{},{types:function(){return u2(i3.types)}}))}if(pt(e4)){var o3=e4.toConfig();return new Zt(oa(oa({},o3),{},{values:ua(o3.values)}))}if(ht(e4)){var a3=e4.toConfig();return new tn(oa(oa({},a3),{},{fields:function(){return ua(a3.fields,function(e5){return oa(oa({},e5),{},{type:r3(e5.type)})})}}))}P(0,"Unexpected type: "+B(e4))});return new Zn(oa(oa({},t3),{},{types:Te(n3),directives:ca(t3.directives).map(function(e4){var t4=e4.toConfig();return new Bn(oa(oa({},t4),{},{locations:la(t4.locations,function(e5){return e5}),args:a2(t4.args)}))}),query:o2(t3.query),mutation:o2(t3.mutation),subscription:o2(t3.subscription)}));function r3(e4){return mt(e4)?new jt(r3(e4.ofType)):gt(e4)?new Rt(r3(e4.ofType)):i2(e4)}function i2(e4){return n3[e4.name]}function o2(e4){return e4&&i2(e4)}function a2(e4){return ua(e4,function(e5){return oa(oa({},e5),{},{type:r3(e5.type)})})}function s2(e4){return ua(e4,function(e5){return oa(oa({},e5),{},{type:r3(e5.type),args:a2(e5.args)})})}function u2(e4){return ca(e4).map(i2)}}function ua(e3,t3){for(var n3=Object.create(null),r3=la(Object.keys(e3),function(e4){return e4}),i2=0;i2<r3.length;i2++){var o2=r3[i2],a2=e3[o2];n3[o2]=t3?t3(a2):a2}return n3}function ca(e3){return la(e3,function(e4){return e4.name})}function la(e3,t3){return e3.slice().sort(function(e4,n3){return Ce(t3(e4),t3(n3))})}function fa(e3,t3){return ha(e3,function(e4){return!Jn(e4)},da,t3)}function pa(e3,t3){return ha(e3,Jn,Fn,t3)}function da(e3){return!wn(e3)&&!Fn(e3)}function ha(e3,t3,n3,r3){var i2=e3.getDirectives().filter(t3),o2=Te(e3.getTypeMap()).filter(n3);return[va(e3)].concat(i2.map(function(e4){return function(e5,t4){return Oa(t4,e5)+"directive @"+e5.name+_a(t4,e5.args)+(e5.isRepeatable?" repeatable":"")+" on "+e5.locations.join(" | ")}(e4,r3)}),o2.map(function(e4){return ma(e4,r3)})).filter(Boolean).join(`
|
187
|
-
|
188
|
-
`)+`
|
189
|
-
`}function va(e3){if(e3.description!=null||!function(e4){var t4=e4.getQueryType();if(t4&&t4.name!=="Query")return!1;var n4=e4.getMutationType();if(n4&&n4.name!=="Mutation")return!1;var r4=e4.getSubscriptionType();return!r4||r4.name==="Subscription"}(e3)){var t3=[],n3=e3.getQueryType();n3&&t3.push(" query: ".concat(n3.name));var r3=e3.getMutationType();r3&&t3.push(" mutation: ".concat(r3.name));var i2=e3.getSubscriptionType();return i2&&t3.push(" subscription: ".concat(i2.name)),Oa({},e3)+`schema {
|
190
|
-
`.concat(t3.join(`
|
191
|
-
`),`
|
192
|
-
}`)}}function ma(e3,t3){return it(e3)?function(e4,t4){return Oa(t4,e4)+"scalar ".concat(e4.name)+function(e5){if(e5.specifiedByUrl==null)return"";var t5=On(e5.specifiedByUrl,gn);return t5||P(0,"Unexpected null value returned from `astFromValue` for specifiedByUrl")," @specifiedBy(url: "+Ge(t5)+")"}(e4)}(e3,t3):at(e3)?function(e4,t4){return Oa(t4,e4)+"type ".concat(e4.name)+ya(e4)+ga(t4,e4)}(e3,t3):ut(e3)?function(e4,t4){return Oa(t4,e4)+"interface ".concat(e4.name)+ya(e4)+ga(t4,e4)}(e3,t3):lt(e3)?function(e4,t4){var n3=e4.getTypes(),r3=n3.length?" = "+n3.join(" | "):"";return Oa(t4,e4)+"union "+e4.name+r3}(e3,t3):pt(e3)?function(e4,t4){var n3=e4.getValues().map(function(e5,n4){return Oa(t4,e5," ",!n4)+" "+e5.name+wa(e5.deprecationReason)});return Oa(t4,e4)+"enum ".concat(e4.name)+ba(n3)}(e3,t3):ht(e3)?function(e4,t4){var n3=Te(e4.getFields()).map(function(e5,n4){return Oa(t4,e5," ",!n4)+" "+Ea(e5)});return Oa(t4,e4)+"input ".concat(e4.name)+ba(n3)}(e3,t3):void P(0,"Unexpected type: "+B(e3))}function ya(e3){var t3=e3.getInterfaces();return t3.length?" implements "+t3.map(function(e4){return e4.name}).join(" & "):""}function ga(e3,t3){return ba(Te(t3.getFields()).map(function(t4,n3){return Oa(e3,t4," ",!n3)+" "+t4.name+_a(e3,t4.args," ")+": "+String(t4.type)+wa(t4.deprecationReason)}))}function ba(e3){return e3.length!==0?` {
|
193
|
-
`+e3.join(`
|
194
|
-
`)+`
|
195
|
-
}`:""}function _a(e3,t3){var n3=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";return t3.length===0?"":t3.every(function(e4){return!e4.description})?"("+t3.map(Ea).join(", ")+")":`(
|
196
|
-
`+t3.map(function(t4,r3){return Oa(e3,t4," "+n3,!r3)+" "+n3+Ea(t4)}).join(`
|
197
|
-
`)+`
|
198
|
-
`+n3+")"}function Ea(e3){var t3=On(e3.defaultValue,e3.type),n3=e3.name+": "+String(e3.type);return t3&&(n3+=" = ".concat(Ge(t3))),n3+wa(e3.deprecationReason)}function wa(e3){if(e3==null)return"";var t3=On(e3,gn);return t3&&e3!==qn?" @deprecated(reason: "+Ge(t3)+")":" @deprecated"}function Oa(e3,t3){var n3=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",r3=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],i2=t3.description;return i2==null?"":e3?.commentDescriptions===!0?function(e4,t4,n4){return(t4&&!n4?`
|
199
|
-
`:"")+e4.split(`
|
200
|
-
`).map(function(e5){return t4+(e5!==""?"# "+e5:"#")}).join(`
|
201
|
-
`)+`
|
202
|
-
`}(i2,n3,r3):(n3&&!r3?`
|
203
|
-
`+n3:n3)+Z(i2,"",i2.length>70).replace(/\n/g,`
|
204
|
-
`+n3)+`
|
205
|
-
`}function Ta(e3){for(var t3=[],n3=0;n3<e3.length;n3++){var r3=e3[n3];t3=t3.concat(r3.definitions)}return{kind:"Document",definitions:t3}}function Na(e3){for(var t3=[],n3=Object.create(null),r3=0,i2=e3.definitions;r3<i2.length;r3++){var o2=i2[r3];switch(o2.kind){case R.OPERATION_DEFINITION:t3.push(o2);break;case R.FRAGMENT_DEFINITION:n3[o2.name.value]=Sa(o2.selectionSet)}}for(var a2=Object.create(null),s2=function(r4){for(var i3=t3[r4],o3=new Set,s3=0,u3=Sa(i3.selectionSet);s3<u3.length;s3++){var c2=u3[s3];Ia(o3,n3,c2)}var l2=i3.name?i3.name.value:"";a2[l2]={kind:R.DOCUMENT,definitions:e3.definitions.filter(function(e4){return e4===i3||e4.kind===R.FRAGMENT_DEFINITION&&o3.has(e4.name.value)})}},u2=0;u2<t3.length;u2++)s2(u2);return a2}function Ia(e3,t3,n3){if(!e3.has(n3)){e3.add(n3);var r3=t3[n3];if(r3!==void 0)for(var i2=0;i2<r3.length;i2++)Ia(e3,t3,r3[i2])}}function Sa(e3){var t3=[];return _e(e3,{FragmentSpread:function(e4){t3.push(e4.name.value)}}),t3}function xa(e3){for(var t3=Y(e3)?e3:new z(e3),n3=t3.body,r3=new ee(t3),i2="",o2=!1;r3.advance().kind!==F.EOF;){var a2=r3.token,s2=a2.kind,u2=!te(a2.kind);o2&&(u2||a2.kind===F.SPREAD)&&(i2+=" ");var c2=n3.slice(a2.start,a2.end);s2===F.BLOCK_STRING?i2+=Aa(c2):i2+=c2,o2=u2}return i2}function Aa(e3){var t3=Q(e3.slice(3,-3));X(t3)>0&&(t3=`
|
206
|
-
`+t3);var n3=t3[t3.length-1];return(n3==='"'&&t3.slice(-4)!=='\\"""'||n3==="\\")&&(t3+=`
|
207
|
-
`),'"""'+t3+'"""'}function ja(e3,t3){var n3=Object.keys(e3);if(Object.getOwnPropertySymbols){var r3=Object.getOwnPropertySymbols(e3);t3&&(r3=r3.filter(function(t4){return Object.getOwnPropertyDescriptor(e3,t4).enumerable})),n3.push.apply(n3,r3)}return n3}function Ra(e3){for(var t3=1;t3<arguments.length;t3++){var n3=arguments[t3]!=null?arguments[t3]:{};t3%2?ja(Object(n3),!0).forEach(function(t4){Pa(e3,t4,n3[t4])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e3,Object.getOwnPropertyDescriptors(n3)):ja(Object(n3)).forEach(function(t4){Object.defineProperty(e3,t4,Object.getOwnPropertyDescriptor(n3,t4))})}return e3}function Pa(e3,t3,n3){return t3 in e3?Object.defineProperty(e3,t3,{value:n3,enumerable:!0,configurable:!0,writable:!0}):e3[t3]=n3,e3}var Da=Object.freeze({TYPE_REMOVED:"TYPE_REMOVED",TYPE_CHANGED_KIND:"TYPE_CHANGED_KIND",TYPE_REMOVED_FROM_UNION:"TYPE_REMOVED_FROM_UNION",VALUE_REMOVED_FROM_ENUM:"VALUE_REMOVED_FROM_ENUM",REQUIRED_INPUT_FIELD_ADDED:"REQUIRED_INPUT_FIELD_ADDED",IMPLEMENTED_INTERFACE_REMOVED:"IMPLEMENTED_INTERFACE_REMOVED",FIELD_REMOVED:"FIELD_REMOVED",FIELD_CHANGED_KIND:"FIELD_CHANGED_KIND",REQUIRED_ARG_ADDED:"REQUIRED_ARG_ADDED",ARG_REMOVED:"ARG_REMOVED",ARG_CHANGED_KIND:"ARG_CHANGED_KIND",DIRECTIVE_REMOVED:"DIRECTIVE_REMOVED",DIRECTIVE_ARG_REMOVED:"DIRECTIVE_ARG_REMOVED",REQUIRED_DIRECTIVE_ARG_ADDED:"REQUIRED_DIRECTIVE_ARG_ADDED",DIRECTIVE_REPEATABLE_REMOVED:"DIRECTIVE_REPEATABLE_REMOVED",DIRECTIVE_LOCATION_REMOVED:"DIRECTIVE_LOCATION_REMOVED"}),ka=Object.freeze({VALUE_ADDED_TO_ENUM:"VALUE_ADDED_TO_ENUM",TYPE_ADDED_TO_UNION:"TYPE_ADDED_TO_UNION",OPTIONAL_INPUT_FIELD_ADDED:"OPTIONAL_INPUT_FIELD_ADDED",OPTIONAL_ARG_ADDED:"OPTIONAL_ARG_ADDED",IMPLEMENTED_INTERFACE_ADDED:"IMPLEMENTED_INTERFACE_ADDED",ARG_DEFAULT_VALUE_CHANGE:"ARG_DEFAULT_VALUE_CHANGE"});function Ma(e3,t3){return Ca(e3,t3).filter(function(e4){return e4.type in Da})}function La(e3,t3){return Ca(e3,t3).filter(function(e4){return e4.type in ka})}function Ca(e3,t3){return[].concat(function(e4,t4){for(var n3=[],r3=Ya(Te(e4.getTypeMap()),Te(t4.getTypeMap())),i2=0,o2=r3.removed;i2<o2.length;i2++){var a2=o2[i2];n3.push({type:Da.TYPE_REMOVED,description:wn(a2)?"Standard scalar ".concat(a2.name," was removed because it is not referenced anymore."):"".concat(a2.name," was removed.")})}for(var s2=0,u2=r3.persisted;s2<u2.length;s2++){var c2=u2[s2],l2=c2[0],f2=c2[1];pt(l2)&&pt(f2)?n3.push.apply(n3,Ua(l2,f2)):lt(l2)&<(f2)?n3.push.apply(n3,Va(l2,f2)):ht(l2)&&ht(f2)?n3.push.apply(n3,Fa(l2,f2)):at(l2)&&at(f2)||ut(l2)&&ut(f2)?n3.push.apply(n3,Ba(l2,f2).concat($a(l2,f2))):l2.constructor!==f2.constructor&&n3.push({type:Da.TYPE_CHANGED_KIND,description:"".concat(l2.name," changed from ")+"".concat(Wa(l2)," to ").concat(Wa(f2),".")})}return n3}(e3,t3),function(e4,t4){for(var n3=[],r3=Ya(e4.getDirectives(),t4.getDirectives()),i2=0,o2=r3.removed;i2<o2.length;i2++){var a2=o2[i2];n3.push({type:Da.DIRECTIVE_REMOVED,description:"".concat(a2.name," was removed.")})}for(var s2=0,u2=r3.persisted;s2<u2.length;s2++){for(var c2=u2[s2],l2=c2[0],f2=c2[1],p2=Ya(l2.args,f2.args),d2=0,h2=p2.added;d2<h2.length;d2++){var v2=h2[d2];Jt(v2)&&n3.push({type:Da.REQUIRED_DIRECTIVE_ARG_ADDED,description:"A required arg ".concat(v2.name," on directive ").concat(l2.name," was added.")})}for(var m2=0,y2=p2.removed;m2<y2.length;m2++){var g2=y2[m2];n3.push({type:Da.DIRECTIVE_ARG_REMOVED,description:"".concat(g2.name," was removed from ").concat(l2.name,".")})}l2.isRepeatable&&!f2.isRepeatable&&n3.push({type:Da.DIRECTIVE_REPEATABLE_REMOVED,description:"Repeatable flag was removed from ".concat(l2.name,".")});for(var b2=0,_2=l2.locations;b2<_2.length;b2++){var E2=_2[b2];f2.locations.indexOf(E2)===-1&&n3.push({type:Da.DIRECTIVE_LOCATION_REMOVED,description:"".concat(E2," was removed from ").concat(l2.name,".")})}}return n3}(e3,t3))}function Fa(e3,t3){for(var n3=[],r3=Ya(Te(e3.getFields()),Te(t3.getFields())),i2=0,o2=r3.added;i2<o2.length;i2++){var a2=o2[i2];rn(a2)?n3.push({type:Da.REQUIRED_INPUT_FIELD_ADDED,description:"A required field ".concat(a2.name," on input type ").concat(e3.name," was added.")}):n3.push({type:ka.OPTIONAL_INPUT_FIELD_ADDED,description:"An optional field ".concat(a2.name," on input type ").concat(e3.name," was added.")})}for(var s2=0,u2=r3.removed;s2<u2.length;s2++){var c2=u2[s2];n3.push({type:Da.FIELD_REMOVED,description:"".concat(e3.name,".").concat(c2.name," was removed.")})}for(var l2=0,f2=r3.persisted;l2<f2.length;l2++){var p2=f2[l2],d2=p2[0],h2=p2[1];qa(d2.type,h2.type)||n3.push({type:Da.FIELD_CHANGED_KIND,description:"".concat(e3.name,".").concat(d2.name," changed type from ")+"".concat(String(d2.type)," to ").concat(String(h2.type),".")})}return n3}function Va(e3,t3){for(var n3=[],r3=Ya(e3.getTypes(),t3.getTypes()),i2=0,o2=r3.added;i2<o2.length;i2++){var a2=o2[i2];n3.push({type:ka.TYPE_ADDED_TO_UNION,description:"".concat(a2.name," was added to union type ").concat(e3.name,".")})}for(var s2=0,u2=r3.removed;s2<u2.length;s2++){var c2=u2[s2];n3.push({type:Da.TYPE_REMOVED_FROM_UNION,description:"".concat(c2.name," was removed from union type ").concat(e3.name,".")})}return n3}function Ua(e3,t3){for(var n3=[],r3=Ya(e3.getValues(),t3.getValues()),i2=0,o2=r3.added;i2<o2.length;i2++){var a2=o2[i2];n3.push({type:ka.VALUE_ADDED_TO_ENUM,description:"".concat(a2.name," was added to enum type ").concat(e3.name,".")})}for(var s2=0,u2=r3.removed;s2<u2.length;s2++){var c2=u2[s2];n3.push({type:Da.VALUE_REMOVED_FROM_ENUM,description:"".concat(c2.name," was removed from enum type ").concat(e3.name,".")})}return n3}function $a(e3,t3){for(var n3=[],r3=Ya(e3.getInterfaces(),t3.getInterfaces()),i2=0,o2=r3.added;i2<o2.length;i2++){var a2=o2[i2];n3.push({type:ka.IMPLEMENTED_INTERFACE_ADDED,description:"".concat(a2.name," added to interfaces implemented by ").concat(e3.name,".")})}for(var s2=0,u2=r3.removed;s2<u2.length;s2++){var c2=u2[s2];n3.push({type:Da.IMPLEMENTED_INTERFACE_REMOVED,description:"".concat(e3.name," no longer implements interface ").concat(c2.name,".")})}return n3}function Ba(e3,t3){for(var n3=[],r3=Ya(Te(e3.getFields()),Te(t3.getFields())),i2=0,o2=r3.removed;i2<o2.length;i2++){var a2=o2[i2];n3.push({type:Da.FIELD_REMOVED,description:"".concat(e3.name,".").concat(a2.name," was removed.")})}for(var s2=0,u2=r3.persisted;s2<u2.length;s2++){var c2=u2[s2],l2=c2[0],f2=c2[1];n3.push.apply(n3,Ha(e3,l2,f2)),Ga(l2.type,f2.type)||n3.push({type:Da.FIELD_CHANGED_KIND,description:"".concat(e3.name,".").concat(l2.name," changed type from ")+"".concat(String(l2.type)," to ").concat(String(f2.type),".")})}return n3}function Ha(e3,t3,n3){for(var r3=[],i2=Ya(t3.args,n3.args),o2=0,a2=i2.removed;o2<a2.length;o2++){var s2=a2[o2];r3.push({type:Da.ARG_REMOVED,description:"".concat(e3.name,".").concat(t3.name," arg ").concat(s2.name," was removed.")})}for(var u2=0,c2=i2.persisted;u2<c2.length;u2++){var l2=c2[u2],f2=l2[0],p2=l2[1];if(qa(f2.type,p2.type)){if(f2.defaultValue!==void 0)if(p2.defaultValue===void 0)r3.push({type:ka.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e3.name,".").concat(t3.name," arg ").concat(f2.name," defaultValue was removed.")});else{var d2=za(f2.defaultValue,f2.type),h2=za(p2.defaultValue,p2.type);d2!==h2&&r3.push({type:ka.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e3.name,".").concat(t3.name," arg ").concat(f2.name," has changed defaultValue from ").concat(d2," to ").concat(h2,".")})}}else r3.push({type:Da.ARG_CHANGED_KIND,description:"".concat(e3.name,".").concat(t3.name," arg ").concat(f2.name," has changed type from ")+"".concat(String(f2.type)," to ").concat(String(p2.type),".")})}for(var v2=0,m2=i2.added;v2<m2.length;v2++){var y2=m2[v2];Jt(y2)?r3.push({type:Da.REQUIRED_ARG_ADDED,description:"A required arg ".concat(y2.name," on ").concat(e3.name,".").concat(t3.name," was added.")}):r3.push({type:ka.OPTIONAL_ARG_ADDED,description:"An optional arg ".concat(y2.name," on ").concat(e3.name,".").concat(t3.name," was added.")})}return r3}function Ga(e3,t3){return mt(e3)?mt(t3)&&Ga(e3.ofType,t3.ofType)||gt(t3)&&Ga(e3,t3.ofType):gt(e3)?gt(t3)&&Ga(e3.ofType,t3.ofType):Ct(t3)&&e3.name===t3.name||gt(t3)&&Ga(e3,t3.ofType)}function qa(e3,t3){return mt(e3)?mt(t3)&&qa(e3.ofType,t3.ofType):gt(e3)?gt(t3)&&qa(e3.ofType,t3.ofType)||!gt(t3)&&qa(e3.ofType,t3):Ct(t3)&&e3.name===t3.name}function Wa(e3){return it(e3)?"a Scalar type":at(e3)?"an Object type":ut(e3)?"an Interface type":lt(e3)?"a Union type":pt(e3)?"an Enum type":ht(e3)?"an Input type":void P(0,"Unexpected type: "+B(e3))}function za(e3,t3){var n3=On(e3,t3);return n3!=null||P(0),Ge(_e(n3,{ObjectValue:function(e4){var t4=[].concat(e4.fields);return t4.sort(function(e5,t5){return Ce(e5.name.value,t5.name.value)}),Ra(Ra({},e4),{},{fields:t4})}}))}function Ya(e3,t3){for(var n3=[],r3=[],i2=[],o2=je(e3,function(e4){return e4.name}),a2=je(t3,function(e4){return e4.name}),s2=0;s2<e3.length;s2++){var u2=e3[s2],c2=a2[u2.name];c2===void 0?r3.push(u2):i2.push([u2,c2])}for(var l2=0;l2<t3.length;l2++){var f2=t3[l2];o2[f2.name]===void 0&&n3.push(f2)}return{added:n3,persisted:i2,removed:r3}}function Ja(e3,t3){return Bi(e3,t3,[Lo])}}},t={};function n(r2){var i=t[r2];if(i!==void 0)return i.exports;var o=t[r2]={id:r2,loaded:!1,exports:{}};return e[r2].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.n=e2=>{var t2=e2&&e2.__esModule?()=>e2.default:()=>e2;return n.d(t2,{a:t2}),t2},n.d=(e2,t2)=>{for(var r2 in t2)n.o(t2,r2)&&!n.o(e2,r2)&&Object.defineProperty(e2,r2,{enumerable:!0,get:t2[r2]})},n.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),n.o=(e2,t2)=>Object.prototype.hasOwnProperty.call(e2,t2),n.r=e2=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e2,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e2,"__esModule",{value:!0})},n.nmd=e2=>(e2.paths=[],e2.children||(e2.children=[]),e2);var r={};(()=>{"use strict";n.r(r),n.d(r,{run:()=>c});var e2=n(1684),t2=n(3389),i=n(2021),o=n(3453),a=n(6525),s=n(7075),u=n(7463);n(755),n(5995),n(6195),n(9283),n(3893),n(497);const c=(n2,r2=[])=>{const c2=typeof window<"u",l={...n2,...c2?window.harmonyAppConfig:void 0};t2.default.id="teambit.preview/preview",i.default.id="teambit.docs/docs",o.default.id="teambit.compositions/compositions",a.default.id="teambit.harmony/pubsub",s.default.id="teambit.react/react",u.default.id="teambit.explorer/command-bar",c2&&function(...n3){e2.Harmony.load([...r2,t2.default,i.default,o.default,a.default,s.default,u.default],"preview",l).then(e3=>e3.run().then(()=>e3.get("teambit.preview/preview")).then(e4=>{const t3=!c2&&e4.setupSsr,n4=e4.setup,r3=(t3||n4||function(){}).bind(e4);return Promise.resolve(r3()).then(()=>e4)}).then(e4=>c2?e4.render("teambit.workspace/workspace",...n3):e4.renderSsr("teambit.workspace/workspace",...n3)).catch(e4=>{throw e4}))}()}})(),exports.e=r.run,__webpack_unused_export__={value:!0}})()}}]);
|